Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Page exceeds viewport width in FF


lucy24 - 4:56 pm on Jun 4, 2011 (gmt 0)


Follow-up to something I noticed earlier:
The page looks identical on all five of my browsers with one interesting exception that I can't pinpoint in the code. In Opera and Camino the 10px-border around the main image displays as "outset". In all others (Firefox and the Apple Web Kit-based browsers Safari and Chrome, as well as the text editor's html preview) it's transparent.

My best guess is that the two off-base browsers reasoned in their browserine brains that she can't possibly have wanted a 10px-wide transparent border or she'd have asked for padding-- never mind that tables don't have padding-- so let's make something pretty and I'm sure she'll be happy with the result. Like earlier versions of MSIE defaulting to grey table borders unless you explicitly tell them to use black.

So it's another case of Never Take Anything For Granted, and make sure the CSS says explicitly {10px transparent} even if you've already said in three other places that you want transparent borders ;)


Thread source:: http://www.webmasterworld.com/css/4317938.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com