|
You're using XHTML 1.1 STRICT, yet you're code does not conform to STRICT.
Deprecated HTML is not allowed. Things like <div align="center"> isn't going to work in Strict mode, it's not allowed. That's what CSS is for and that is where it should be. Deprecated tags like <font> are also not allowed in Strict.
ALL tags MUST be closed and using <br>s to space your content is incorrect too. If you're going to use a <br> it must be <br />.
Text must be wrapped inside <p> tags, you have almost none.
You have a serious case of div-itis. You could cut all that in half or more by just applying your backgrounds to the main div's and cutting out all the extras you're using just to apply a background. You've also got a lot of inline styles that are conflicting with your main stylesheets. Keep all your styles IN the stylesheets.
Your total widths - 200+14+500+200+14 = 928. Your #content is 950, BUT, you also are applying 40px of padding to the Body.. reducing your total area to 910.
I would seriously suggest you go back in and correct your coding. Take out all those in-line styles and use the stylesheet properly. It's no wonder you can't figure out what's gone haywire, you've got widths and such defined all over the place !
Clean it up, validate it, then see where you stand. I would also suggest that you back away from XHTML Strict and perhaps drop back to HTML 4.01 Strict. XHTML Strict demands proper coding, complete separation of presentation elements from the code, something you have all mixed in.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|