squirellplaying
05-15-2005, 02:20 AM
I'm using a two column lay out. With firefox it's perfect, no suprise there, but with IE the two elements don't line up. Here's the page:
http://troop1910.ithium.net/index.php
As you can see in IE the navigation is about 2-3px above the main context. It's not a huge issue, but it drives me insane!
Here is the css for the two elements:
#conText{
position:relative;
float:left;
margin-top:10px;
text-align:center;
width:10em;
padding:0px;
padding-top:15px;
padding-bottom:15px;
margin-left:20px;
-moz-border-radius:10px;
}
#mainContents{
margin-left:12em;
margin-top:10px;
height: 500px;
display:block;
font-family:arial, sans-serif;
padding: 10px;
}
Both the top margins are at 10px so I don't understand why one is lower then the other.
Also has anyone had an issue with IE not commenting out css code? With firefox I could do "//" and have a line commented out, but not with IE. I don't really care but I found that interesting.
http://troop1910.ithium.net/index.php
As you can see in IE the navigation is about 2-3px above the main context. It's not a huge issue, but it drives me insane!
Here is the css for the two elements:
#conText{
position:relative;
float:left;
margin-top:10px;
text-align:center;
width:10em;
padding:0px;
padding-top:15px;
padding-bottom:15px;
margin-left:20px;
-moz-border-radius:10px;
}
#mainContents{
margin-left:12em;
margin-top:10px;
height: 500px;
display:block;
font-family:arial, sans-serif;
padding: 10px;
}
Both the top margins are at 10px so I don't understand why one is lower then the other.
Also has anyone had an issue with IE not commenting out css code? With firefox I could do "//" and have a line commented out, but not with IE. I don't really care but I found that interesting.