ajfmrf, If you could hold off jumping in while I'm in the middle of helping somebody, that would be great - its pointless us both spending time on something unless you're offering a correction to an answer, have anything informative to add or you are providing further support because the original helper's input has been exhausted. It would also be good to provide an explanation if you have offered a solution rather than ask people to visit your website and hunt for your changes themselves.
--------------------------
Hi ctryluv,
I have the fix for you and I'll provide an explanation to avoid confusion. However, I've just spotted that you do not have the copyright notices for the scripts maintained in your web page, so you must make sure that you reinstate those if you continue using the script - it is in the terms and conditions and a requirement for usage. So where you have this line;
Code:
<script type="text/javascript" src="plusimageviewer1.js"></script>
Change it to this;
Code:
<script type="text/javascript" src="plusimageviewer1.js">
/***********************************************
* Plus Size Image Viewer- by JavaScript Kit (www.javascriptkit.com)
* This notice must stay intact for usage
* Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
***********************************************/
</script>
Now for the problem which ultimately leads back to this plusimageviewer1.js script. It looks like you've got a bit confused with the coordinates for the caption position, so try making the changes highlighted in this line;
Code:
captionoffset: [5, -35], //additional offset of caption relative to bottom left edge of image
That will put the captions just inside the grey shadow/border of your images, which you may or may not like but you can tweak them if you wish. If you do, just nudge the caption value up or down a few pixels at a time, and check in a browser between changes, until you're comfortable with which way they're moving (negative value can be confusing even for me so check often to avoid any major screw-ups).
Now there are some other problems with your document that you should also attempt to clean up.
- Remove align="left" from your img tags. This is a deprecated attribute in HTML5.
- Move the internal styles for your body background image into <head> section. At the moment its between the closing </head> tag and the opening <body> tag.
- Remove a few stray "length:143px" from img tags. It looks like you've mixed up the formatting for HTML4 images and HTML5 images;
HTML4 img tags look like this;
Code:
<img src="images/pic.gif" height="50" width="140" alt="an image"/>
Whereas HTML5 img tags look more like this;
Code:
<img src="images/pic.gif" style="height:50px; width:140px" alt="an image"/>
So you should format your images like the HTML5 example
One other thing I noticed was the mixed use of curly/smart and straight/dumb quotation marks in your markup, such as in the link line for your reset.css file and the meta tag for utf-8. The curly/smart ones look like ” - not too clear with the forum font but they're the ones you'd expect to see in typography and typically get transferred into HTML markup when a plain text editor has not been used (ie - if you've copied something direct from Word or from a web pages), but as they can interfere with code, you should change them to straight/dumb quotations marks which look like ".
Bookmarks