CSS Programming / Firefox issues

Je-C

TPF Noob!
Joined
Sep 26, 2004
Messages
189
Reaction score
0
Location
Beale AFB, CA, and Salem, Oregon
Website
je-c.smugmug.com
Hopefully a few people know some HTML / CSS programming. Basically my gallery shows fine on IE but not Firefox. Firefox doesn't border my clickable images but makes a small box the appropriate width but at a fixed height no matter the height of the thumbnail. Here's the index: http://je-c.com/gallery/longsinceforgotten/index.html

If you click on an image and notice that the thumbnail on the left is bordered correctly, that's because there isn't a link there and I bordered the thumbnail individually with the coding.

Hopefully this all makes sense. If not, just open a version of the link in both IE and FF and you'll see what I mean. Thanks ahead of time for any help you guys can provide! BTW, I'm coding raw (no programs or w/e).
 
You might want to try appling the border size to the image rather than the link tag. Leave the color on the A tag so that it will change, but since the border is going around the image itself, I think it should be getting the size info.

It's been a while, so no guarantees.
 
Does the same in Opera.

Try changing...

border-width:2px 2px 2px 2px;
margin:0px;

to...

border-width: 2px;
margin: auto;

(Notice the spaces after the ":")

Also have a look HERE to address some errors in your HTML.
 

Most reactions

Back
Top