CSS - Tab Menu Float Problem, Stupid Ie! :p
Hi,
Here is that affected page: www.wnv2.com/v12.php Look at it in IE and then in FF. Why is it not working in IE? The Code is below! Thanks for anyhelp Code: #navigation { border-bottom:1px solid #b00000; width:750px; height:30px; margin:0; } #navigation a { color: #FFF; background: #b00000; text-decoration: none; padding: 0 10px 0; margin: 5px 5px 0; border-left:1px solid #b00000; border-top:1px solid #b00000; border-right:1px solid #b00000; font: 12px Geneva, Arial, Helvetica, sans-serif; height:25px; } #navigation a { display: block; float: left } /* Commented backslash hack hides rule from IE5-Mac \*/ #navigation a { float: none } /* End IE5-Mac hack */ #navigation a:hover { color: #b00000; background: #FFF; text-decoration: none; padding: 0 10px 0; margin: 5px 5px 0; border-left:1px solid #b00000; border-top:1px solid #b00000; border-right:1px solid #b00000; height:25px; } #navigation ul { list-style: none; padding: 0; margin: 0; display:inline; } #navigation li { float: left; margin: 0; padding: 0; display:inline; } #navigation a:hover, #navigation a:active, #uberlink a:link, #uberlink a:visited, #uberlink a:hover, #uberlink a:active { color: #b00000; background: #FFF; text-decoration: none; padding: 0 10px 0; margin: 0 5px 0; border-left:1px solid #b00000; border-top:1px solid #b00000; border-right:1px solid #b00000; height:30px; } Similar TutorialsHey, I think i just need someone else to look at this for me. I've been coding all day and would probably be able to figure this out if I just went to bed and did it tomorrow. If you roll over an image that's alson an anchor at www.deeperdevotion.com/wp, you'll find that it places a background-color or underline or both on it. The thing is, I can't find the code in my CSS that's causing me the trouble. my css is located at www.deeperdevotion.com/wp/wp-content/themes/dd/styles/101106.css Thanks. at least i think it's a stupid little css problem ... i've attached 3 png's so you can see the problem i'm trying solve. what i'm doing is i have a DIV that holds an icon that's floated to the left and another DIV that houses a message. these two DIV's are then sorrounded by a DIV that's supposed to put a border around everything (the icon and the message). look at the png named "good" ... that looks fine. the text wraps around the floated icon sorta like what you might see in a newspaper, which is the effect that i'm going for. however, when you widden the window you get "no-good." the border that's supposed to go around everything now intersects the icon. now if i had enough text in the message, no matter how wide the window is, the text would always force the border to sorround everything. but i can't always be positive that the amount of text would always match what is needed. now take a look at "fixed.png" ... this is how i would like it to look. the border always sorrouinding everything. now i was under the impression that when a DIV sorrounds another DIV, the outer most DIV takes on the shape of the DIV inside (the basic box object model). this doesn't seem to be the case with a div that's floated though. it always seems to hang outside of the outer most DIV, and i think it's a behavioral issue. my question is: is there a style property that i must invoke on the outer most DIV to make it display this way? or is what i'm attempting to do impossible? i don't think it should be impossible or i would deem that as a drastic flaw in css. i'll also post my code: Code: <div style="border:#ff0000 solid 1px"><!-- full wrapper --> <div style="background-color:#00ff00; border:#666666 solid 1px; float:left; margin:1px; padding:1px"><!-- float wrapper --> <div><img alt="image" src="img.bmp"></div> <div style="background-color:#cccccc; margin-top:1px"><!-- caption wrapper --> <div style="text-align:center">caption</div> </div><!-- end caption --> </div><!-- end float --> <div style="background-color:#0000ff"><!-- message area --> <div style="padding:5px; text-align:justify">This is some text. Actually it's very long text that goes on and on and on. It's also a test entry. Testing, testing, 1, 2, 3 ... 1, 2 ... 1, 2, 3. Good it appears that the test has passed with flying colors. It gets a gold star put next to it's name on the blackboard.</div> </div><!-- end message --> </div><!-- end full wrapper --> thanks for any feedback, except telling me that my color scheme is lousy. i'm aware of that; i use high-contrast colors in the implementation phase so i can see exactly what is going on. -z subject isn't too good anyhow.. i have 4 cells __ __ |1 | |2 | --- --- __ __ |3| |4 | --- --- 2 and 4 are said to float right, such that 1 and 3 define the height of the page.. but.. when the contents of 2 go LONGER than the contents of 1, number 4 doesn't float right properly.. instead this happens __ __ |1 | |2 | --- | | --- | | |4| --- --- __ |3| --- do you see that? 4 tries to float right, but since it's called underneath 1, and 2 is extended, floating right relative to the page doesn't make it ACTUALLY float right any thoughts that will render this properly? (namely that cells 1 and 3 will inherit the height of 2 and 4 somehow?) Hi all, I am in a rush, and stumped, check out this page (in Internet Explorer 7): http://72.167.22.172/new/programs.php?t=8 See the footer? Any insight? (works fine in firefox etc.) Hello, I have developed some very simple code. This code is working well on FireFox (and also netscape) and Operan but not well on IE6. The code is very simple. I have a div tag that containes two other div's. One div contains text to be aligned to the left (using float: left) and another div contains a list (ul) to be aligned to the right (using float: right). The following is the code I have so far: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <style> .leftText { float: left; } .rightText { float: right; } .top ul { width: 100%; text-align:center; margin: 0; padding-left: 0; border: 0; list-style-type:none; } .top ul li { display: inline; text-align: center; float:left; border-right:none; background-image: none; padding-left: 5px; } </style> </head> <body> <div class="top"> <div class="leftText"> This is the text on the left. </div> <div class="rightText"> <ul> <li>one</li> <li>two</li> <li>three</li> </ul> </div> </div> </body> </html> Now I did some testing before posting here. First of all I tried to hack it. What I did is add *float: right; inside the .top ul li {...} element. This naturally was not cought by FireFox and Opera, and thus the website still looked fine on these browsers. However when I tried it on IE6 I had a surprose. The list was alligned to the right, but instead of writing "one two three", it wrote "three two one". I do not know how best to solve it, and be greatfull for any advise. thanks and regards, sim085 I started a new post on this one because it is something I have just noticed in FireFox, but not in IE6. I have created a new html page with a top, middle and bottom div sections. The middle section contains two other div's, left and right. All these div's I wraped inside another div called container. What I did (with CSS) is set the container with a width of 400px, and a solid red border. I then set the top and bottom with a height of 40px each. I did not set the height of the middle section since that would grow according to its content. The right div I set it as float:right and the left div I set it as float:left. This worked fine but then I decided to set the bottom div as float:left ... and it broke in FireFox In FireFox, the container wraped only around the top div, and the other middle and bttom div remained outside that white container. Here is the code I used: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <style> body { margin: 0; text-align: center; padding: 10px; background: #00ff00; } .container{ width: 400px; margin: 0 auto 10px auto; padding: 0; text-align: left; background: #ffffff; border: 1px solid #d1c7ac; } .top { height: 40px; } .middle{ /* can not put height here, since the middle section data changes from page to page. */ } .left { float: left; width: 200px; } .right { float: right; width: 200px; } .bottom { height: 40px; float: right; } </style> </head> <body> <div class="container"> <div class="top"> Top Section </div> <div class="middle"> <div class="left"> Left Section. </div> <div class="right"> Right Section. </div> </div> <div class="bottom"> Bottom Section. </div> <!-- placed here --> </div> </body> </html> As I said this problem only apears in FireFox, and in IE6 it does not show. I know I am doing something wrong, mostly because I still do not know all about what a float do. I know it is because of the float thing. because what I did is add an (space) before the end of the container div wraped around the middle, bottom and float as well. I am sorry for posting yet another question on floats. Thanks for any advise and sugestions. regards, sim085 thanks in advance for the help! if you can take a look at the code below, you will see that all the subcontents are not aligned right. i am trying to display subcontent1, subcontent2 and subcontent3 in row1. then, repeat it for row2. so it will look like 3 cols X 2 row table. what i am doing wrong? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> #content { margin-left: 200px; border-left: 1px solid gray; margin-right: 200px; border-right: 1px solid gray; padding: 1em; } #subcontent2 {float:left; height:50px; margin:0 0 .2em .5em; background:#eee8aa; border:1px solid black; } #subcontent3 {float:right; height:50px; margin:0 0 .2em 0; background-color:#CCCCCC; border:2px dotted red;} #subcontent1 {margin-left:400px; border:1px solid blue; margin-right:150px; padding:1em; } #subcontent p {margin:0 0 .5em .5em; font-family:Verdana; font-size:11px; background-color:#CCCCCC; border:1px solid black; text-align:center } </style> </head> <body> <div id="content"><h2>Subheading</h2> <p>fg gdhoiuw eiouhe viouwbfu8igdofi goiwehviuh eropihpvoih epfiovhpoefvh fbv iopwehfviu teopiuhrguioh gfdg tgt wg</p> <p>afd dfouighoiweh oiehoiuehoiu iuashfoiuerfiugeroigriugh lirduivh lrehv ioperviuherviuo qouitrhvui tgvwre</p> <p>rg uwtdh guoiseh uisgoiunb oiutruighepguihgptuhg dfhgpeorhv oiuhgoihetoishgoi </p> <p>sdfgdf gwetguh reigqre uyreaiu qeroi er fdgfg thgwrtighuroiu og9hghgtuih wtpghwepipeg ptbsrthb </p> <div id="subcontent2">dfgdghureuererg uiruykerf fgsgs gsgh sdg sfg fdsgg</div> <div id="subcontent1"><p id="st3">zones:</p><select name="selZone" size="10" multiple class="sel1"> <option value="%%">* Select One *</option> <option value="1">Ferrari</option> <option value="2">Lamborghini</option> <option value="4">Porsche</option> <option value="5">Konigssen</option> </select></div> <hr align="right" width="276" id="dV"> <div id="subcontent2">dsfwuy rbefuyerwfy erg</div> <div id="subcontent1"> <textarea name="s" rows="10" cols="10"> fiyrqeyfreuyf uuyqfyu fgg tg sdgsgfdg teg tg tg wgtgtrg rgregfwregfwgwg wtgrtg rtghtrghg trgtrgtrg</textarea></div> <div id="subcontent3">this is subcontent3</div> </div> </body> </html> I have a slight problem that I ran into with a couple div tags. It can be seen at the site in my profile. - I have 2 floats and I have remembered to Code: clear:both; for the footer. However it is still not working. I have also heard about the using of position:absolute may break this, but it is on the wrapper class. Not to sure if that matters, but if it is not there then I am not able to have it look the way it should. Full code is he Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/jpjNewTemplate.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>JPJSystems - </title> <!-- InstanceEndEditable --> <!-- InstanceBeginEditable name="head" --> <meta name="title" content="JPJSystems" /> <meta name="description" content="Web Design Services, Computer Build/Repair/Customization" /> <link rel="image_src" href="images/logo.jpg" / > <!-- InstanceEndEditable --> <style type="text/css"> <!-- body,td,th { font-family: Verdana, Geneva, sans-serif; color: #FFF; } body { background-color: #000; background-image: url(images/background.jpg); background-repeat: no-repeat; background-position: left top; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } a:link { color: #09F; text-decoration: none; } a:visited { text-decoration: none; color: #03F; } a:hover { text-decoration: none; color: #06F; } a:active { text-decoration: none; color: #03F; } h1 { color: #09F; } h2 { color: #09F; } h3 { color: #09F; } h4 { color: #09F; } h5 { color: #09F; } h6 { color: #09F; } div { border:none; border-width:0px; background-repeat:no-repeat; } #wrapper{ width:900px; left:50px; top:0px; position:absolute; } #header{ left:0px; height:187px; background-image:url(images/topBannerLogo.jpg); } #navigation{ height:47px; padding:0px 0px 0px 0px; } #precontent{ height:237px; background-image:url(images/subContent.jpg); } #spacer{ height:35px; background-image:url(images/middleGeneral.jpg); } #leftContent{ height:514px; width:650px; float:left; background-image:url(images/mainContentMiddle.jpg); } #rightContent{ height:514px; width:250px; float:right; background-image:url(images/mainContentRight.jpg); } #footer{ height:79px; clear:both; background-image:url(images/footer.jpg); } h1 {color:#06F;} h2 {color:#06F;} h3 {color:#06F;} h4 {color:#06F;} h5 {color:#06F;} h6 {color:#06F;} body { background-color:#000; color:FFFFFF; font-family:verdana, sans-serif; font-size:12px; margin-top:2px; margin-left:2px; margin-right:2px; margin-bottom:2px; } a:link {color:0099FF} a:visited {color:0033FF} a:hover {color:0033FF} a:active {color:00FFFF} td { font-family:verdana, sans-serif; font-size:12px; border:none; } tr { font-family:verdana, sans-serif; font-size:12px; border:none; border-color:#000; } .tdImg { border:dashed; border-color:#0CF; } --> </style> </head> <body bgcolor="#000000" text="#FFFFFF" link="#0099FF" vlink="#0033FF" alink="#0033FF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <div id="wrapper"> <div id="header"></div> <div id="navigation"><a href="index.php"><img src="images/button1.jpg" alt="Home" width="142" height="47" border="0" /></a><img src="images/button2.jpg" alt="About" width="141" height="47" border="0" /><a href="portfolio.php"><img src="images/button3.jpg" alt="Portfolio" width="142" height="47" border="0" /></a><a href="contact.php"><img src="images/button4.jpg" alt="Contact" width="142" height="47" border="0" /></a><img src="images/button5.jpg" alt="Services" width="142" height="47" border="0" /><img src="images/button6.jpg" alt="My Account" width="142" height="47" border="0" /></div> <!-- InstanceBeginEditable name="subContent" --> <div id="precontent"><table height="215px" align="left"> <tr> <td><img src="images/const.gif" width="215" height="215" align="top" class="tdImg"></td> <td><h2>Under Construction - </h2><br> The site is getting updated - stay tuned! <br><br> <meta name="title" content="JPJSystems" /> <meta name="description" content="Web Design Services, Computer Build/Repair/Customization" /> <link rel="image_src" href="images/logo.jpg" / > Share on Facebook! <br><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script> <a name="fb_share" type="button_count" href="http://www.facebook/sharer.php">Share</a><br> <iframe src="http://www.facebook/widgets/like.php?href=http://jpjsystems" scrolling="no" frameborder="0" style="border:none; width:450px; height:80px"></iframe> </td> </tr> </table></div> <!-- InstanceEndEditable --> <div id="spacer"></div> <!-- InstanceBeginEditable name="mainContentLeft" --> <div id="leftContent"><div align="left"> <img class="news" src="images/news.jpg" alt="News" name="news" width="300" height="49" id="news" /> <table border=0 width=100%> <tr valign="bottom"><td colspan=2 valign="bottom"> <br /><h3>Tomorrow!</h3></td></tr> <tr><td colspan=2>by John Ensign on 06/14/2010 3:03 pm</td></tr> <tr><td colspan=2>Updates will happen a lot more tomorrow.</td></tr> <tr><td></td><td> <a name="fb_share" type="button_count" share_url="http://www.jpjsystems/generateNews.php?id=25" href="http://www.facebook/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></td></tr> <tr valign="bottom"><td colspan=2 valign="bottom"> <br /><h3>News Resizing Error</h3></td></tr> <tr><td colspan=2>by John Ensign on 06/14/2010 10:33 am</td></tr> <tr><td colspan=2>Fixed the error with the news box when the content exceeds a certain point.</td></tr> <tr><td></td><td> <a name="fb_share" type="button_count" share_url="http://www.jpjsystems/generateNews.php?id=24" href="http://www.facebook/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></td></tr> <tr valign="bottom"><td colspan=2 valign="bottom"> <br /><h3>Login Works!</h3></td></tr> <tr><td colspan=2>by John Ensign on 06/14/2010 9:25 am</td></tr> <tr><td colspan=2>Users will be able to register soon too.</td></tr> <tr><td></td><td> <a name="fb_share" type="button_count" share_url="http://www.jpjsystems/generateNews.php?id=23" href="http://www.facebook/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></td></tr> <tr valign="bottom"><td colspan=2 valign="bottom"> <br /><h3>News Works!</h3></td></tr> <tr><td colspan=2>by John Ensign on 06/14/2010 9:25 am</td></tr> <tr><td colspan=2>Got the news script up and running so the news can be shared!</td></tr> <tr><td></td><td> <a name="fb_share" type="button_count" share_url="http://www.jpjsystems/generateNews.php?id=22" href="http://www.facebook/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></td></tr> <tr valign="bottom"><td colspan=2 valign="bottom"> <br /><h3>New Site Layout</h3></td></tr> <tr><td colspan=2>by John Ensign on 06/14/2010 8:32 am</td></tr> <tr><td colspan=2>Put the site into a new layout, looks much better! Continuing to work on other parts of the site at the moment as well.</td></tr> <tr><td></td><td> <a name="fb_share" type="button_count" share_url="http://www.jpjsystems/generateNews.php?id=21" href="http://www.facebook/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></td></tr> </table> </div> </div> <!-- InstanceEndEditable --><!-- InstanceBeginEditable name="mainContentRight" --> <div id="rightContent"></div> <!-- InstanceEndEditable --> <div id="footer"></div> </div> </body> <!-- InstanceEnd --></html> Hi, I wonder if there's anyone out there who can help with an issue I'm having. I think it's something relatively simple, but I've been staring it in the face for too long. A fresh pair of eyes will help. This page displays fine in Firefox, Safari, Opera, Chrome and IE8. The #main2 div loses it's position in IE6 and 7. Any help would be massively appreciated. Anyway I can refer you to the page as a new user? :/ maybe - www dot twistystraws dot com / test dot html Thanks. Hello, I'm new to CSS and I'm in the process of building my first table-less page. It is quite exciting, but I'm having one major problem. For some reason, I cannot get my main content div to float next to my side bar navigation. In the normal write up, it works in IE but not Firefox or Opera. I took just the essential parts of the code to create a test page for this forum, and now it doesn't even work in IE!!! Here is the code: Code: <html> <head> <style TYPE="text/css"> #topNav { margin: 10px 0px; border: 1px solid #000; width: 100%; } #sideNav { margin-right: 10px; border: 1px solid #000; width: 150px; } #main { margin: 0; border: 1px solid #000; float: left; } </style> </head> <body> <div id="topNav"> Top Nav </div> <div id="sideNav"> Side Nav </div> <div id="main"> MAIN CONTENT AREA </div> </body> </html> Any help would be greatly appreciated!!! Hey there, I have a problem I have 3 divs that are going to the top of my heading, and the right one just doesnt float into place. http://hookem.no-ip.org/Upload As you can probably see, the top of each box and to the right. This is my code in the CSS. PHP Code: .hr{ background-image: url(right.gif); width: 3px; height: 23px; background-repeat: no-repeat; } And the HTML part... PHP Code: <div class="hl"></div><div class="hm">Hello again</div><div class="hr"></div> I really really would like help please. Thanks for looking and helping! Hookem! I would be VERY appreciative if someone could tell me why the big quote mark in the bottom left text box of this page does not look correct in IE7...it looks great in Firefox...the big quote mark should be raised above the text as it is in FF.... I'm floating 2 <p> elements there, and put borders around the <p> elements to see what was happening...I even put the <p> elements inside a container <div>, but that didn;t help....I reluctantly used a negative margin in FF, but the same doesn;t work in IE....Am I missing something simple here? Thanks for any help... Hello, Not so long time ago I had a problem in firefox when i placed float content in another div. Basically the parent div did not want to wrap my float div's. Thanks to Kravvitz I solved this by following the url over here http://css-discuss.incutio.com/?page=ClearingSpace However today I tried doing the same thing, and I realized that now, my screen is showing fine on FireFox, but not on IE6.0! here I placed some html to show my problem: Code: <html> <head> <style> /* Hides from IE-mac \*/ * html .clearfix {height: 1%;} .clearfix {display: block;} /* End hide from IE-mac */ div.myBox{ border: 1px solid red; display: inline-table; } div.myBox:after { content: "."; display: block; height: 0; font-size: 0; clear: both; visibility: hidden; } div.dofloat{ float:left; border: 1px solid green; } </style> </head> <body> <div class="myBox"> <div class="dofloat"> float1 <br /> <br /> </div> <div class="dofloat"> float2 <br /> <br /> </div> </div> </body> </html> If you open this html page in firefox you will notice that a red border is wrapping two green boxes. However opening it in IE6.0 shows a red line in top, and the two green boxes under it. I know that this is because the float objects are not wrapped automatically, however the hack i have placed in the above html solved it for fire fox. What would be the best way to make it work in IE6.0 as well? I did find a hack, that is to place height: 1px; in the div.mybox body: Code: div.myBox{ border: 1px solid red; display: inline-table; *heght: 1px; } However I am not sure if this is the best way to tackle this problem... thanks for any comments Regards, Sim085 I've been working on this project for over a month and for some reason cant get my tic-tac-toe container to float in the middle of the page in IE6. The container that is causing the problem is called "<div id="tic-tac-toe">". It centers perfectly in Firefox and IE7 but stays far off to the right in IE6 no matter what I do. Please help if you can help me figure this out your a genius!! Here is a link to to the site: http://dev.blackstonemedia.net/dfh/products.html Hi, Have this web page with a lot of divs in it. I have specified that all divs should be float:left in my css-file so that they will be rendered next to each other. I have noticed that when my browser is smaller than the actual web page some of the divs are rendered below and not to the right. How can I force the browser to still render them to the right. I would like to scroll to the right rather than down. Can anyone help me with this problem? /H Page: http://dev.donmyersministries.com/test.html Ok, time is money, I decided to change my design a little bit because the way I was headed wasn't working. Now this isn't, I'm fixin to just go back to tables, this is retarded. Anyway, my problem. In FireFox/Opera my right hand column is fine (2 column layout), in IE however, it is pushed down below the left hand column. The left hand side is floated left. An image if it helps at all: Please help, before I abandon CSS layouts, again. later I understand IE has many problems with 'float' in css. I've got a new layout I'm working on for a site, and everything is working great on it except one element on IE6. Part of the page, seen below, looks great on FF, Safari, & IE7: However, IE6 shows up as: Here's the CSS that governs this part of the layout: Code: div.search_and_cart div.account_box{ border: 1px solid #808080; } div.search_and_cart div.account_box p{ padding: 8px; } div.search_and_cart div.account_box div.checkout_button{ float: right; width: 80px; line-height: 30px; text-align: center; background-color: #F68428; border: 0; margin: 0; border-top: 1px solid #808080; } div.search_and_cart div.account_box div.checkout_button a{ color: #FFF; text-decoration: none; font-weight: bold; } div.search_and_cart div.account_box div.cart_contents{ width: 153px; line-height: 30px; padding-left: 5px; color: #FFF; background-color: #808080; border-top: 1px solid #808080; } Then here's the HTML: Code: <div class="account_box"> <p><span style="color: #000;">ACCOUNT</span><br /> See order status</p> <div class="checkout_button"><a href="#">CHECKOUT</a></div> <div class="cart_contents">2 items in my cart</div> </div> Any help would be greatly appreciated. Thanks! Hi all i have a problem with a website i am building. It is very annoying. I have a masterpage with a float left menu, a contentplaceholder and a float right element. It used to work correctly but now it floats right OK but when I zoom in the left menu and content zoom correctly but the right float overlaps the content as though it is stuck. I have tried all sorts of things but nothing I can find works. Here is the css : body { height:100%; } #div.row span.left { float: left; text-align: left; font-weight: bold; color: #fff; width: 49%; } #div.row span.right { float: right; text-align: right; font-weight: bold; color: #fff; width: 49%; } #container { width: 100%; margin: 10px auto; background-color: #fff; color: #333; border: 1px solid gray; line-height: 100%; } #top { padding: .5em; background-color: #FFFFFF; border-bottom: 0px solid gray; height: 46px; font-family: Arial, Helvetica, sans-serif; font-size: 2.5em; color: #006000; text-align: center; } #top h1 { padding: 0; margin: 0; font-family: Arial, Helvetica, sans-serif; background-color: #FFFF66; } #leftnav { float: left; width: 167px; height: 483px; margin: 0; padding: 0; height: 409px; list-style: none; margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1em; } #link { } ul#navigation { width: 9.2em; float: left; margin: 0 0px 0 0; padding: 1em; height: 497px; font-family: Arial, Helvetica, sans-serif; font-size: 1em; color: #0207f6; } ul#navigation li { list-style:none; background-color:#ECEEFA; border-top: solid 1px #ECEEFA; text-align: left; margin: 0; } ul#navigation li a { display:block; text-decoration: none; padding: .25em; border-bottom: solid 1px #39f; border-right: solid 1px #39f; height: 21px; width: 141px; } #rightnav { float: right; width: 160px; margin: 0; padding: 1em; height: 399px; font-family: Arial, Helvetica, sans-serif; text-align: center; right:0; } #content { margin-left: 203px; border-left: 0px solid gray; margin-right: 0px; border-right: 0px solid gray; padding: 1em; width: 100%; height: 20px; font-family: Arial, Helvetica, sans-serif; font-size: 1em; text-align: center; margin-top: 0px; width: 619px; } #h2 { color:#ff0000; font-weight: bold; text-align:center } any ideas anyone? Andy I have the following pretty straight forward and simple layout borders For some reason the "right" floated div "Add Account" is not going to the right in FF3. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Borders</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> form { margin:0px; } .container { position:absolute; top:0; left:0; } .outer { float:left; margin:10px; background-color:#FFFFFF; border:1px; border-style:solid; border-color:#990000; } .inner-left { float:left; padding:10px; } .inner-right { float:right; padding:10px; } </style> </head> <body> <div id="container" class="container"> <div class="outer"> <div class="inner-left"> <form> Filter <input type="text" name="filer" id="filter" value="" size="20" /> <input type="submit" name="go" value="Go" /> </form> </div> <div class="inner-right"> <form> Add Account <input type="submit" name="go" value="Go" /> </form> </div> </div> </div> </body> </html> It renders correctly in FF2, IE6 and IE7, but I just can't figure how why it won't display correctly in FF3 (version 3.0.5 to be precise) - just when I thought I'd finally "mastered" most css issues! Any help greatly appreciated. Hi, I am stuck on this css code and need some different eyes to look at it I have a image on the left hand side and then text next to it here is the css code Code: .topone { height:85px; } .left { float:left; } .right { float:left; } .rightone { font-style: italic; padding:10px; text-align:left; font-family: arial; font-size:10pt; } .rightbottom { font-style: bold; font-family: arial; font-size:10pt; text-align:right; } <div class="topone"> <div class="left"> <a href="/" title="Home"><img src="/newimages/new.jpg"/></a></div> <div class="right"> <p class="rightone">This Website is used to move contruction materials from one place to another so handle with care and dont play around handle with care handle with care</p> <p class="rightbottom">Home | Menu | Shopping | Store </p> </div> </div> whats happening is the text next to the image in IE is next to it but in firefox the text is below the image any idea todd |