![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
The problem I'm having is that when I add the doctype to the beginning of the htm file, the formatting doesn't display as expected. (I recognize that the browser is now using Standards mode.) An example of the page with doctype declaration: http://www.luckyman.ca/testsite/index.htm Notice: - the boxes surrounding the title are only as wide as the text itself, even though "span.h1 {width:100%;} ". |
|
- the background image in div.nav is cropped at the bottom. - the navigation buttons are wider. - the position of div.nav scrolls off the screen. Other have commented on these issues. |
|
My question is, if the files are valid as the W3C validator indicates, why are all my css settings not rendered as expected while in standards mode? To word this a different way: The validator indicates that I'm using standard code. Why is it only rendered correctly in Quirks mode? Validation verifies "syntax", that your code complies with the rules of |
![]() |
| Thread Tools | |
| Display Modes | |
| |