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


alt131 - 8:53 am on Jun 5, 2011 (gmt 0)


If you've never had a browser merrily disregard something that's supposed to be the default, you've been very very lucky or just haven't tried enough browsers. It's not always MSIE, either.
that got my attention until I realised the "you" was generic - not "you" at SuzyUK specifically. Suzy, please don't ever get the urge to share the list of browsers/versions you've coded for - there's still a forum limit on post size ;)

This is slightly off what we think the original issue was, but I think still relevant points for later readers, and a lot of work has gone in as well.

so I pasted in my own xhtml boilerplate ... It is IDENTICAL to yours, but the validator shut up.
Yup, given my issue with the document being validated as html the first (and sometimes second) time, I wondered if there were some stray hidden characters in there. I didn't have time to check - but I suspect you "got it in one" by pasting in a replacement.

In terms of explicitly setting borders multiple times, to state the obvious, a border isn't inherited by default. However, tables are different, and there is also the frame attribute, so webkit's default stylesheet explicitly sets border-colour:gray and inherit for table elements and the ie6-9 default is "grey-ish" (the colour changed between versions) - so not just ie6. A quick test in Op11/winsafari5/ie8/FF4 produces this:

ie6&7 boringly draw the grey-ish table/td inset/outset regardless ;) Interestingly, because the outset/inset should default to border-colour (which was never specified), there is an argument OP is wrong, even thoguht it was the most consistent. BUT all obeyed simple border-style and colour via css rather than html attributes.

So I think the strongest message is that deprecated + invalid + non-specific are volatile - best use style rather than html attributes and especially when using tables for style.


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