Hello everyone,
First post on here. I was looking around but couldn't find an answer to my problem so I was hoping someone here might be able to help.
Here's the problem. I'm trying to set two div's horizontally. The two are wrapped in a container div.
Firefox is displaying correctly however internet explorer is pushing the rightmost div all the way to the right and putting the contents on multiple lines. This is also causing the rest of the page to degrade terribly.
Here's the CSS:
and this is the implementation of it:Code:#header_login { background: #ff0000; height: 50px; width: 980px; border-left: 10px solid #ccc; border-right: 10px solid #ccc; margin: 0px; clear: right; } #header_login_content_left { height: 48px; width: 350px; padding: 10px; float: left; } #header_login_content_right { height: 48px; width: 550px; padding: 12px; float: left; }
I'm learning CSS on my own and still don't know nearly everything so maybe it's a basic error but if anyone could help it'd be MUCH appreciated!Code:<div id="header_login"> <div id="header_login_content_left"> ...content here... </div> <div id="header_login_content_right"> ...content here... </div> </div>
Chris



Reply With Quote



Bookmarks