OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
CSS alignment issue in IE
This page's ID:
23957
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
Hey everyone, I have been having some trouble with css alignment. In Firefox everything looks fine but in IE6 the alignment is off with my <div id="leftcontent and rightcontent" I have posted the css and html code below. I know that the size of the header is off and i am going to fix that once I get this. html code: <HTML> <HEAD> <TITLE>Page test</TITLE> <link rel="stylesheet" type="text/css" href="smithstyle.css" /> </HEAD> <BODY> <div id="header" </div> <div id="leftcontent" </div> <div id="rightcontent" </div> </BODY> </HTML> css code: body { background: url("smithpattern2.gif"); font-family: verdana, sans-serif; font-size: 10px; color: #000; margin: 0; padding: 0; } h3 { background: #fff; text-align: left; margin: 0px; padding: 0px; border: 0px; } #header { margin: 20px 0px 1px 20px; border: 1px solid #000; text-align: center; background: #fff; width: 562px; height: 50px; } #leftcontent{ position: absolute; top: 72px; margin: 5px 0px 0px 20px; background:#fff; border:1px solid #000; height:400px; width:150px; } #rightcontent { margin: 5px 0px 0px 177px; background:#fff; border:1px solid #000; height:600px; width:400px; }
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »