OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Damn positioning
This page's ID:
10836
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Looking at your style sheet, and comparing to the page, it looks like Mozilla is rendering it correctly, and IE 6 is incorrect. You have a 793px width div centered on the page. Both browsers get this correct. (I know this thanks to my "show divs" bookmarklet, which has this url: javascript:a=document.getElementsByTagName('div');for(b=0;b<a.length;b++){a[b].style.border='1px solid #F00';}void(0); add it to your favorites and bookmarks if you want.) Then, Mozilla is putting the first div (#left) 90px from the left of the centered div. exactly right. IE, for some reason, is putting it much farther to the right. In any case, I think what you want to do is reduce the width of the #frame div so that it tightly holds on to its contents. Note also that IE6 doesn't recognize the DOCTYPE tag if it's preceeded by an <?xml...?> tag. Since the xml tag is optional, I suggest you leave it out and specify character encoding with a meta tag. That way IE 6 will render the page in standards mode.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »