CSS - Site Displays Fine In Firefox But Not In Ie
I apologize if this is supposed to be in the HTML forum. Since html code can be viewed from the source I thought I will post the css code to cross check since I couldn't figure out what is causing the problem. So thought I would post it in CSS forum.
I have the following site that displays fine in Firefox but is all a mess in IE. http://www.geocities.com/dhaagey08/DhaageyTab2.html Following is the CSS code I am using. ====================================== * { margin: 0; padding: 0; } html { background: #fff url("images/html1.png") repeat-x left top; } body { font-family: arial, sans-serif; font-size: 12px; color: #888888; background: url("images/body.png") repeat-y left top; width: 1000px; margin: 0 auto 30px auto; position: relative; } a img { border: 1px solid #ccc; } a { color: #f48a88; text-decoration: none; } a:hover { visibility: visible; /* IE bug fix */ } a:hover img { border: 1px solid #729AD7; } h1 { font-size: 14px; } h2 { font-size: 12px; } .page { background: url("images/page3.jpg") no-repeat left top; padding: 15px 125px 0px 115px; width: 760px; } .header{ position: relative; width: 760px; height: 170px; left: 5px; top: 0; background: url("images/header1a.jpg") no-repeat left top; } /************* menu1 ******************/ .bar4285801 { width: 345px; height: 35px; position: relative; } .bar4285801 table.tabbar { position: absolute; width: auto; height: auto; top: 0px; left: 45px; } .bar4285801 div { height: 35px; width: 115px; } .bar4285801 div.button { background: url(menu47831178.jpg); } /****************** menu2 ***********************/ .bar4285846 { width: 345px; height: 35px; position: relative; } .bar4285846 table.tabbar { position: relative; width: auto; height: auto; top: -35px; left: 390px; } .bar4285846 div { height: 35px; width: 115px; } .bar4285846 div.button { background: url(menu30455262.jpg); } .main { width: 706px; margin: 0 auto; } .box1 { border: 1px solid #ccc; clear: both; padding: 0 5px 25px 2px; width: 690px; height:350px; position: relative; } .lady { float: left; width:220px; height:350px; background: url("images/lady2s.jpg"); } #right { width: 457px; float: right; padding-bottom: 130px; } .dhaagey { font-family: monotype corsiva; font-size: 30px; color: #89201d; } .contact{ font-family: monotype corsiva; font-size: 18px; color: #89201d; float: right; margin-top: 55px; } .photos { margin-top: 5px; padding-bottom: 8px; } .photos a { width: 106px; height: 140px; float: left; background: #C2D3EE; text-align: center; color: #A2A3A6; text-decoration: none; font-size: 11px; font-weight: bold; margin-right: 14px; } .photos>a { min-height: 148px; height: auto; } .photos a.last, .greybox-background .right a.last { margin-right: 0; } .photos a:hover { color: #f48a88; } .photos a span { display: block; padding-top: 2px; } .photos a>span { padding-top: 5px; } .greybox { border: 1px solid #ccc; margin-bottom: 39px; padding: 5px 0; } .greybox-background { background: url("images/gbback.jpg") repeat-y left top; width: 100%; line-height: 170%; } .greybox-background .left, .greybox-background .right { width: 321px; float: left; padding: 0 10px; } .greybox-background .right { float: left; padding: 0 19px 0 20px; } .greybox-background .right a { display: block; float: left; margin-right: 11px; margin-top: 8px; } .greybox2 { border: 1px solid #ccc; margin-bottom: 15px; padding: 9px 7px; width: 688px; } .greybox2 .preview { float: left; margin-right: 40px; margin-right: 44px; } .greybox2 .preview img { padding: 5px; } .greybox2 .right { float: left; width: 350px; } .greybox2 .right a { float: left; margin: 0 14px 7px 0; } .footer1 { text-align: center; padding: 0 27px 3px 27px; } .footer1 a { color: #872323; text-decoration: none; } .footer1 a:hover { color: #d87126; text-decoration: none; } .footer2 { font-size: 0px; line-height: 0px; height: 15px; background: url("images/footer.png") no-repeat left top; margin-left: 110px; } .cleaner { font-size: 0px; line-height: 0px; height: 0px; clear: both; } ============================================ Any help is greatly appareciated. Similar TutorialsHi- I am finishing up design of a site, and validated it with the W3c validator (everything is valid). When I go to it on IE, everything shows up the way that it should. However, when I go to it on Firefox or Safari, on three pages there seems to be a 'chunk' taken out of the left side. If you compare the three pages in IE and Firefox you should see what I mean (devshed won't let me post links so sorry for the formatting): 01f086d.netsolhost dot com/yk/services dot html 01f086d.netsolhost dot com/yk/experience dot html 01f086d.netsolhost dot com/yk/principals dot html It seems to be the page length that is causing this, because on shorter length pages, there is no chunk. I am using DIV tags to lay the site out, which should be pretty easy to follow if you view source. My CSS file is at: 01f086d.netsolhost dot com/yk/assets/css/defaultPage dot css (also validated with W3C). Any help would be GREATLY appreciated as I have spent hours on this last problem and can't figure out what is causing it! Greetings... I've looked all around for a solution, and can't find one. Any help that anyone could provide would so greatly appreciated. My site http://www.baltimoregamers.com displays the div boxes incorectly in Firefox. I am using quite an unusual layout with one big picture as a plate for the entire site... I then lay div boxes/layers ontop of the plate to position text exactly where I want it to go. It works flawlessly in IE, but displays a too far down and to the right in FF/Mozilla. I am new to using CSS and I'm sure that something is off somewhere in the code. Thank in advance for any help. Feel free to e-mail me he dekay@baltimoregamers.com I dont know why it is doing this in firefox here is my css coding then is my html file coding Code: #header { width: 800px; height: 164px; margin: 0px; padding: 0px; background: red url(images/header.jpg); } #menubox { width: 215px; height: 194px; margin: 0 0 0; padding: 0px; background: blue url(images/menu.jpg); } #menu-in { width: 73px; height: 158px; padding: 0px; margin-left: 41px; margin-top: 16px; background: red; } #banner { width: 585px; height:194px; margin-left: 215px; margin-top: -194px; background: green url(images/banner.jpg); } #sidepic { width: 165px; height: 692px; background: green; } #sidepic-in { width: 127px; height: 634px; margin-left: 19px; margin-top: 29px; background: brown url(images/sidepic.jpg); } #main { width: 413px; height: 692px; margin-left: 165px; margin-top: -692px; background: purple; } #main-in ( width: 378px; height: 628px; margin-left: 18px; margin-top: 32px; background: red; } #pictures { width: 222px; height:505px; margin-left: 578px; margin-top: -692px; background: blue; } #pictures-in ( width: 171px; height:424px; margin-left: 22px; margin-top: 60px; background: red; } #links { width: 222px; height: 187px; margin-left: 578px; background: red; } #footer { width: 800px; height: 50px; background: yellow; } { Code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <link rel="stylesheet" type="text/css" href="styles.css"> </head> <body> <div id="header"> </div> <div id="menubox"> <div id="menu-in"> </div> </div> <div id="banner"> </div> <div id="sidepic"> <div id="sidepic-in"> </div> </div> <div id="main"> <div id="main-in"> </div> </div> <div id="pictures"> <div id="pictures-in"> </div> </div> <div id="links"> </div> <div id="footer"> </div> </body> </html> My page is displaying correctly in IE 6,7,8(CV), but when I view it in Firefox or Safari, it does not display correctly. The problem I'm having is the div #main is not stretching to allow room for the content in it. In IE it stretches fine, but in FF and Safari it doesn't stretch at all. I've been all over the internet searching but I can't find any similar problems/solutions. I've tried whatever I can think of or find. Can somebody please help me or point me in the right direction? Page: <div id="main"> //problem div <div id="sideBar"> <div id="header"> </div> </div> <div id="mainContent"> //contains content that I need to be stretched to the height </div> </div> CSS Code: html { margin: 0; padding: 0; border: 0; } body { background-image: url(img/bg.png); background-repeat: repeat-x; background-color: #008A32; margin: 0; padding: 10px; border: 0; height: 100%; min-height: 100%; } #main { font-family: Arial, Helvetica, sans-serif; padding: 20px; position: relative; border: solid 1px #0C0; width: 760px; margin: 1px auto; background-color: #FFF; } #sideBar { width: 194px; float: left; clear: left; height: auto; min-height: 100%; } #header { width: 194px; height: 344px; clear: both; float: none; background-image: url(img/Logo01.png); } #mainContent { width: 546px; float: right; clear: right; height: auto; min-height: 100%; } Thanks in advance -Mike http://www.refinethetaste.com/step3.htm Can someone tell me why this page appears perfectly fine with ie but appears awfully wrong with firefox. I am almost done with the project, please help..... s.o.s Code: style> /*review order*/ #checkoutprocess { width:576px; float:left; margin-right:2px; } #checkoutprocess .checkoutprocess { float: left; width: 574px; margin: 10px 0; border: #ece7d1 1px solid;} #checkoutprocess h1 { height:30px; font-size: 18px; color:#716759; line-height:30px;} #checkoutprocess .checkoutprocess .thdesc { float: left; width:264px; height:14px; font-size: 14px; color:#716759; background-color: #f2efe9; margin:3px; padding:3px; } #checkoutprocess .checkoutprocess .th { float: left; width:70px; height:14px; font-size: 14px; text-align: center; color:#716759; background-color: #f2efe9; margin:3px; padding:3px;} #checkoutprocess .checkoutprocess .thh { float: left; width:568px; height:14px; font-size: 14px; color:#716759; background-color: #f2efe9; margin:3px; padding:3px; } #checkoutprocess .checkoutprocess .tddesc { float: left; width:274px; height:80px; font-size: 14px; color:#716759; margin:3px; padding:3px; vertical-align:text-top; } #checkoutprocess .checkoutprocess .color { float: left; width:70px; text-align: center; color:#716759; background-color: #f2efe9; margin:3px; padding:3px; vertical-align:text-top; } #checkoutprocess .checkoutprocess .noncolor { float: left; width:70px; text-align: center; color:#716759; margin:3px; padding:3px; vertical-align:text-top; } #checkoutprocess .checkoutprocess .intprice { font-weight:bold; } #checkoutprocess .hline { border-bottom:5px solid #ece7d1; margin:10px 0 10px 0; padding:0; } #checkoutprocess img#updatesbasket { float:left; width: 141px; height: 15px; border: 0px; } #checkoutprocess img#remove { float:right; width: 52px; height: 15px; border: 0px; } #checkoutprocess img#contshopping { float:right; width: 141px; height: 25px; padding-right:50px; border: 0px; } #checkoutprocess img#checkout { float:right; width: 89px; height: 25px; border: 0px; } </style> I added a tab content js to my main page. I did not change anything at css file. Area where I added tab content js works fine with Firefox but not with Internet Explorer. What happens with IE is that contents at the center of the page moves under. I am not sure if I clearly described the problem. Please take a look at: http://www.pearl.ru/isdunyasi/ I'm beating my head against the wall on this one and could use some expert help. In full disclosure, I am using a css template site I found on a open source template site. The site renders fine in Firefox and Opera, but is problematic with some pages. Here is one of the pages I am having trouble with in IE: http://worldwidemediaproject.com/tvrating.php You'll notice that in IE it appears like there are a bunch of <br>'s after the TV Stations header. This does not appear in either Firefox or Opera. The strange thing is this one appears fine in IE: http://worldwidemediaproject.com/tvrating.php?id=71&language=all&genre=all but this one doesn't: http://worldwidemediaproject.com/tvrating.php?id=216&language=all&genre=all The only real difference is that the table size is larger in the pages that have display problems. Is there some kind of IE hack that I need to apply? Many thanks.... I've spent hours trying to figure out what is wrong with my page. It loads fine in IE. When I load it in Firefox, the nav menu on the left displays at the bottom of the page (as if my content section were too wide). If I hit refresh enough times, it will appear properly... hit refresh some more and it goes back to the incorrect layout. Additionally, if try to Edit CSS (Ctrl+Shift+E) the page snaps into the correct format. http://snipurl.com/19l6w I've tried everything I can think of to solve this. Any input here would be appreciated. Hi everyone, I am stumped at why I'm having this problem in FF only but I'd appreciate any input as to why it's happening. Take a look at www.spotabusiness.com in FF and see how there is a huge whitespace above the content regardless of what links you click. It looks fine in IE6 and 7. Thanks I did a site recently and Im having trouble finding what is causing this weird error. If you go to this gallery using firefox: http://www.mmimageart.com/fineart4.html you will notice that the thumbnails under "saguaro" will display wrongly. IF you dont see the problem just keep refreshing the browser until you get the problem. you will get it. there are problems also in: http://www.mmimageart.com/fineart3.html (everglades) http://www.mmimageart.com/fineart.html (Atlantic Coast) What coding error in css can cause firefox to display the website wrong randomly ? Is this a well known error ? if not, then Ill post the code. Thanks in advanced!!! i have a thick left hand border that does not show in firefox, the css is... Code: #container{ margin: 0 auto; background-color:#ffffff; width:465px; border-left:335px solid #8FADB4; border-right:1px solid #8FADB4; border-top:1px solid #8FADB4; border-bottom:1px solid #8FADB4; background: url('images/br_logo.jpg') no-repeat bottom right; } does anybody know why the left border does not show? thanks First off, i'd like to say: So here's the code i'm screwin' with: ul.navlinks { font-weight: bold; background-color: #d7d7d7; margin: -5px -10px 0px -10px; padding: 0px 10px 1px 10px; border-bottom: 1px solid #2169AD; } Looks great in firefox (color fills the whole div) but in IE (i'm using 6.0), there's about 20 pixes to the right that arn't colored. Any suggestions? Thanks Never mind. Thx. These are my three classes for the content section: PHP Code: #content { margin-right:200px; text-align:left; background-color: #FFF; border: 2px solid #E3EEF5; } #content_header { background-image: url(images/layout/middlepanel/header_title_back.gif); width: 100%; height: 40px; } #content_inner { padding: 10px; color: #5A748C; } And here is my HTML: PHP Code: <div id="content"> <div id="content_header"><h1>Welcome to...... </h1></div> <div id="content_inner"> <? include("includes/homepageloremipsum.php"); ?> </div> </div> The trouble is that the 100% width on the content_header div for some reason shunts the div down by about 200px on IE. It sits at the top if I select 99% width or anything other than 100% width but then I have a gap on the right. Hi everyone! I'm pulling my hair out on this one. I must confess I'm a bit green when it comes to css, but I've been playing around with this page and was finally able to get it looking the way I want in IE. If you look at it in Firefox or Netscape, the container doesn't expand at the bottom, and the links just spill out. Any ideas on how I can get this to expand like it does in IE? http://www.gotop100.com/test.html Thanks! Gods I hate IE. I test this in IE6 and it comes out completely wrong. Here's the CSS: Code: body { font: 90% Verdana, Arial, Helvetica, sans-serif; background: #666666; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #000000; background-color: #FAFBFB; background-image: url(images/mainbackground.gif); } /* Tips for Elastic layouts 1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate. 2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this. 3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing. */ .twoColElsLtHdr #container { width: 100%; /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */ background: #FFFFFF; margin: 0px; border: 0px; text-align: left; /* this overrides the text-align: center on the body element. */ background-image: url(images/mainbackground.gif) } .twoColElsLtHdr #header { background: #DDDDDD; padding: 0px; background-image:url(images/bg.jpg); width: 100%;} .twoColElsLtHdr #header h1 { margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */ padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */ } /* Tips for sidebar1: 1. Be aware that if you set a font-size value on this div, the overall width of the div will be adjusted accordingly. 2. Since we are working in ems, it's best not to use padding on the sidebar itself. It will be added to the width for standards compliant browsers creating an unknown actual width. 3. Space between the side of the div and the elements within it can be created by placing a left and right margin on those elements as seen in the ".twoColElsLtHdr #sidebar1 p" rule. */ .twoColElsLtHdr #sidebar1 { float: left; width: 200px; background-image:url(images/bg.jpg); padding-left: 5px; /* top and bottom padding create visual space within this div */ height:400px; } .twoColElsLtHdr #sidebar1 h3, .twoColElsLtHdr #sidebar1 p { margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */ margin-right: 10px; } /* Tips for mainContent: 1. If you give this #mainContent div a font-size value different than the #sidebar1 div, the margins of the #mainContent div will be based on its font-size and the width of the #sidebar1 div will be based on its font-size. You may wish to adjust the values of these divs. 2. The space between the mainContent and sidebar1 is created with the left margin on the mainContent div. No matter how much content the sidebar1 div contains, the column space will remain. You can remove this left margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. 3. To avoid float drop, you may need to test to determine the approximate maximum image/element size since this layout is based on the user's font sizing combined with the values you set. However, if the user has their browser font size set lower than normal, less space will be available in the #mainContent div than you may see on testing. 4. In the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs that may occur. */ .twoColElsLtHdr #mainContent { margin: 0 1.5em 0 13em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */ margin-top: 0px; margine-right: 400px; padding-top:0px; position:absolute; left: 50px; top: 145px; max-width: 700px; min-width: 700px; background-color:#d5d4b5; padding:10px; border-color: #420000; border-style:solid; border-size: 5px; min-height: 380px; } As you can see, I am mostly working off of modified DW scripts. If you can help me solve this problem, I will definitely appreciate it. The code: Code: <body class="twoColElsLtHdr"> <div id="container"> <div id="header"> <img src="images/banner.jpg" width="986" height="122" /> <table width="100%" height="26" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="images/linething.gif"> </td> </tr> </table> <!-- end #header --></div> <div id="sidebar1"> <table width="200" border="0" cellpadding="0" cellspacing="0" background="images/bg.jpg"> <tr> <td><img src="images/home.gif" width="75" height="39" /></td> </tr> <tr> <td><img src="images/gallery.gif" width="91" height="43" /></td> </tr> <tr> <td><img src="images/Pricing.gif" width="98" height="42" /></td> </tr> <tr> <td><img src="images/request_quote.gif" width="179" height="45" /></td> </tr> <tr> <td><img src="images/care.gif" width="61" height="41" /></td> </tr> <tr> <td><img src="images/faq.gif" width="80" height="49" /></td> </tr> <tr> <td><img src="images/tutorials.gif" width="114" height="45" /></td> </tr> <tr> <td><img src="images/about_us.gif" width="116" height="47" /></td> </tr> <tr> <td><img src="images/contact.gif" width="125" height="41" /></td> </tr> </table> <h3> </h3> <!-- end #sidebar1 --></div> <div id="mainContent"> <p class="style1 style1 style1 style1 style1 style1">First and foremost, welcome. Here resides Valdyr Fenrisdottir, custom mascot and fursuit designer. It is my personal desire to help people obtain a wonderful costume and make dreams come true. It is with this desire that I have started Fenrir Productions, my contribution to the world of fursuit creation.</p> <p class="style2 style2 style2 style2 style2 style2">Whether you seek a mascot for your school or organization, a mask for an event or game, or a partial or full fursuit for yourself or a friend, I devote myself to making a high-quality product to fit your specific needs. I will even make smaller peices, like ears, paws, feetpaws, and tails for those interested in accessories for a cosplay or Halloween costume.</p> <p class="style3 style3 style3 style3 style3 style3">Please feel free to browse around the website, and be sure to check back for more updates. Questions and comments are always welcome, so if you need anything, please e-mail or contact me.<br /> <br /> </p> <div align="center"><span class="style4 style5 style5 style5 style5 style5"><strong>News and Updates:</strong></span> <!-- end #mainContent --> </div> </div> <!-- This clearing element should immediately follow the #mainContent div in order to force the #container div to contain all child floats --><br class="clearfloat" /> <!-- end #container --> </div> </body> </html> And the website link, as I forgot it, so you may view the problem: http://fenrirproductions.com/anim/index.html I have the following CSS: #main_navmenu{ padding-top:10px; width:120px; height:80%; float:left; margin-left:7px; font-size:11pt; text-align:center; padding-right:10px; } #main_navmenu a:link{ color:#777777; width:100px; background-color:#FDF4EE; text-decoration:none; font-weight:bold; border:1px solid #663333; margin-top:2px } #main_navmenu a:visited{ color:#777777; width:100px; background-color:#FDF4EE; text-decoration:none; font-weight:bold; border:1px solid #663333; } #main_navmenu a:hover{ color:#000000; width:100px; background-color:#DDD4CE; text-decoration:none; font-weight:bold; border:1px solid #663333; } why in IE do the link buttons look fine, with a width of 100px, and a nice gap between them. In FireFox, there is no gap between the buttons, and each button is only as wide as the text inside it. Thanks in advance for any help Basic, I know. I've probably just been staring at this thing too long. The building image to the right of the navbar displays correctly in Firefox, and has its top clipped off in IE 7 (not caring at this point about 6). Hmm... I guess I can't post a link. Crumbs. Well, not sure if its even possible to get help with this thing but maybe describing it with code will make the solution pop to my head. I'm doing a quick rebuild of palladio-tours .com to sort of bring the code into this millennia. In my first run through using Firefox to check (mistake) I changed the navbar to a horizontal text CSS based <ul> underneath the Palladio Tours <img> with a <br>. Now, in Firefox this works just fine, but in IE 7 (and 6, but again, not caring at this point), the yellow-ish building to the right of the nav list is clipped off exactly above the upper boundary of the list before it. Let's see if I can post the relevant code. Html: html4strict Code: Original - html4strict Code <div id="header"> <div id="navwrap"> <img id="logo" src="images/logo.gif" alt="Palladio Tours Logo"><br> <ul id="nav"> <li id="t-home"><a href="index.html">home</a></li> <li id="t-company"><a href="company.html">company</a></li> <li id="t-daily"><a href="daily.html">daily</a></li> <li id="t-weekly"><a href="weekly.html">weekly</a></li> <li id="t-brochure"><a href="brochure.html">brochure</a></li> <li id="t-faq"><a href="faq.html">faq</a></li> <li id="t-contact"><a href="mailto:palladio@aol.com"><img src="images/contact.gif" alt="Contact Us"></a></li> </ul> </div> </div> <div id="header"> And the relevant CSS; css Code: Original - css Code body { margin: 0px 0px 0px 0px; padding: 0px; border: 0px; background: #ffffff url(images/header-bg.gif) no-repeat top left; font-family: "times", serif; color: #000000; font-size: small; text-align: left; } * html body { font-size: x-small; /* for IE */ f\ont-size: small; /* for IE 6+ */ } #header { text-align: left; } #nav { float: left; list-style: none; margin: 0px 0px 0px 0px; } #nav li { float: left; font-family: "times", serif; font-size: 120%; font-weight: normal; margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; } #nav a { float: left; display: block; text-decoration: none; color: #000000; border: 1px solid #000000; border-left: none; margin: 0px; padding: 0px 4px 0px 4px; } #t-home a { padding: 0px 4px 0px 12px; } #t-faq a { border-right: none; padding: 0px 12px 0px 4px; } #t-contact a { border: none; padding: 0px 0px 0px 0px; } #t-contact a img { border: none; margin: -37px 0px 0px 0px; padding: 0px 0px 0px 0px; background: none; } #nav a:hover { background: #FFCE63; } #nav t-contact a:hover { background: #ffffff; } #navwrap { margin: 0px 0px 0px 0px; padding: 65px 0px 0px 90px; } #logo { margin: 0px 0px 6px 50px; } body { I wish I could post a link to the live example. It's a file called "shell.html" in the "css-test" folder at the above site. My brain obviously has gas, any help with this fart will be appreciated! Hello. The address text on the following page doesn't line up. The address/phone/fax for each location should be side by side. Firefox 3 works fine. IE6 the "Westwood Location" text moves down below. What am I missing?' http://nessphysiotherapy.com/contact.php Thanks Hi! Please help me again! I cannot figure this out. I have tried striping out everything out to see if I could figure out what was causing it -- I can't. This one part is not working - everything else is fine. When I take this out I have no problems. Basically, i'm trying to have an image with text next to it (without it wrapping around the image). In IE it works. In Firefox the text drops below the image. Here is the code stripped out. Unfortunately, I cannot access and FTP to upload this - but I don't think that should matter. Please, What am I doing wrong? Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>ARGH</title> </head> <body> <div style="margin-left:10px; margin-top:10px; width: 90%;"> <div style="float: left; padding-right: 10px;"> <img src="images/img.jpg" width="200px" height="100px" border="1"> </div> <div style="float: left;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tellus purus, aliquet ut, posuere vitae, ullamcorper at, sapien. Donec vel sapien a lorem vehicula imperdiet. Aliquam a nunc sed lectus rhoncus imperdiet. Maecenas commodo scelerisque nulla. </div> </div> <div style="margin-left:10px; margin-top:10px; width:90%;"> <div style="float: left; padding-right: 10px;"> <img src="images/img.jpg" width="200px" height="100px" border="1"> </div> <div style="float: left;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tellus purus, aliquet ut, posuere vitae, ullamcorper at, sapien. Donec vel sapien a lorem vehicula imperdiet. Aliquam a nunc sed lectus rhoncus imperdiet. Maecenas commodo scelerisque nulla. </div> </div> <div style="clear: both;"></div> </body> </html> |