NameSilo

What's wrong with my code?

Spaceship Spaceship
Watch

Ja$on

VIP Member
Impact
62
Anyone tell me what's up with my site?

http://behindthebushes.com/

Looks like in IE6 it isn't centered and some of the design exceeds the wrapper on the right side. :(

IE7 it looks fine.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
In IE6 if you have anything before the DOCTYPE (including the xml prolog) it throws the browser into quirks mode, meaning the box model renders in the old, incorrect/buggy way. (Microsoft actually did that on purpose to allow documents to validate but still remain compatible with hacked legacy code.)

I didn't look closely, but I'm guessing from the description and a quick look at your code that that's your problem. Remove the xml prolog and you should be OK (or put quirks mode hacks for IE6 and lower ). Or use an html doctype instead.
 
Last edited:
0
•••
Do you know this quicks mode hack for IE6?
 
0
•••
I think I fixed it, anyone using IE6 that can check?

Nope, still broke, I made sure all of the validation was correct but sigh, still broke.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back