CSS - Website Design Looks Perfect In Firefox, But Horrible In I.e. I Think It's My Css.
Hello everyone. I have been working on a redesign of my current website for a while. Early on, I realized that the design was flawed for I.E. (I use Firefox on a regular basis for testing). I went ahead and just finished the design anyway, using Firefox to test. Now that it's done, I'm hoping that there's some stupid error in my CSS that's causing the problems, and hoping that someone can find the problem. If it's a big problem and alot of work to fix, I'm willing to pay someone to help me correct the issue.
The main problem is my navigation bar at the top, which consists of drop-down menus. There's also a problem with how the background lines up. If you want to see what I'm talking about, go look at the site both in Firefox and I.E. The URL is: http://www.favillephoto.com/new website/index.html I have 2 different css files. One for my index page, because it is designed differently and has a sidebar. And then a second one for the rest of my pages on the site. I'll attach the CSS for both, in case there's an issue there. Thanks in advance for your help. This is the css file for my index page: Code: body { padding: 0; background: #ffffff url('images/img01.jpg'); font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 13px; color: #333333; margin-left:0; margin-right:0; margin-top:20px; margin-bottom:0 } h1, h2, h3, h4 { margin: 0; font-weight: normal; color: #AD1112; } h1 { font-size: 250%; } h2 { font-size: 180%; } h3 { font-size: 140%; font-weight: bold; } h4 { font-size: 100%; font-weight: bold; } p, ol, ul { line-height: 180%; } p { } ol { } ul { } blockquote { margin: 0; padding-left: 20px; font-style: italic; } blockquote * { line-height: normal; } a { color: #1267bc; } a:hover { color: #999999; } img { border: none; } img.left { float: left; margin: 10px 15px 0 0; } img.right { float: right; margin: 0 0 0 15px; } hr { display: none; } /* Header */ #header { width: 1030px; height: 260px; margin: 0 auto; background: url('images/img02.jpg') no-repeat right top; } /* Menu */ #menu { float: right; width: 1030px; height: 40px; padding: 220px 0 0 0; } #menu a { display: block; height: 32px; background: url('images/img06.gif') no-repeat; text-decoration: none; font-size: 13px; font-weight: bold; color: #FFFFFF; padding-left:12px; padding-right:13px; padding-top:8px; padding-bottom:0 } #menu ul { width: 1026px; height: 40px; margin: 0; padding: 0; background: #AD1011 url('images/img05.jpg') repeat-x; border-left: 2px solid #FFFFFF; border-right: 2px solid #FFFFFF; list-style-type:none } #menu li { margin: 0; padding: 0; list-style: none; float: left; } #menu li a:hover { color: #123456;} #menu div { position: absolute; visibility: hidden; margin: 0; padding: 0; background: #000000; } #menu div a { position: relative; display: block; margin: 0; padding: 3px 10px; width: auto; height: 20px; white-space: nowrap; text-align: left; background: #6c91c5; color: #ffffff;} #menu div a:hover { color: #123456;} /* Page */ #page { width: 1030px; margin: 0 auto; } /* Content */ #content { float: left; width: 760px; height: 2040px; padding: 20px; background: #FFFFFF url('images/img07.gif') no-repeat left bottom; } /* Sidebar */ #sidebar { float: right; width: 220px; height: 2070px; padding-top: 10px; padding-right: 10px; background: #ffffff url('images/img07a.gif') no-repeat right bottom; } #sidebar a { color: #dddddd; } #sidebar a:hover { color: #999999; text-decoration: underline; } #sidebar ul { margin-left: 0; padding-left: 0; list-style: none; font-size: 92%; } #sidebar ul li { background: url('images/img13.gif') no-repeat 0px 12px; border-top: 1px solid #0B0B0B; padding-left:14px; padding-right:14px; padding-top:5px; padding-bottom:5px } #sidebar ul li.first { border: none; } #sidebar ul li h2 { margin: 0; font-size: 100%; } #sidebar ul li h3 { margin: 0; font-size: 92%; } #sidebar ul li p { color: #dddddd; margin: 0; } #sidebar p { color: #dddddd; margin: 0; font-size: 92%; } .boxed { margin-bottom: 10px; background: #113c5c url('images/img10.gif') no-repeat left bottom; } .boxed .title { height: 30px; margin: 0; background: #000000 url('images/img08.jpg') no-repeat; font-size: 16px; font-weight: bold; color: #000000; padding-left:0px; padding-right:0; padding-top:10px; padding-bottom:0 } .boxed .content { padding: 15px; background: url('images/img09.gif') repeat-x; } .boxedPrintoftheMonth { margin-left: -790px; background: #113c5c url('images/img10PotM.gif') no-repeat left bottom; } .boxedPrintoftheMonth .title { height: 30px; margin: 0; background: #000000 url('images/img08PotM.jpg') no-repeat; font-size: 16px; font-weight: bold; color: #000000; padding-left:0px; padding-right:0; padding-top:10px; padding-bottom:0 } .boxedPrintoftheMonth .content { padding: 15px; background: url('images/img09.gif') repeat-x; } /* Footer */ #footer p { margin: 0; line-height: normal; font-size: 85%; color: #000000; } #footer a { color: #000000; } #footer a:hover { color: #666666; } This is the css for the rest of my pages: Code: body { padding: 0; background: #ffffff url('images/img01.jpg'); font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; font-size: 13px; color: #333333; margin-left:0; margin-right:0; margin-top:20px; margin-bottom:0 } h1, h2, h3, h4 { margin: 0; font-weight: normal; color: #AD1112; } h1 { font-size: 250%; } h2 { font-size: 180%; } h3 { font-size: 140%; font-weight: bold; } h4 { font-size: 100%; font-weight: bold; } p, ol, ul { line-height: 180%; } p { } ol { } ul { } blockquote { margin: 0; padding-left: 20px; font-style: italic; } blockquote * { line-height: normal; } a { color: #1267bc; } a:hover { color: #999999; } img { border: none; } img.left { float: left; margin: 10px 15px 0 0; } img.right { float: right; margin: 0 0 0 15px; } img.left1 { float: left; margin: 0 70px 0 70px; } img.right1 { float: right; margin: 0 70px 0 70px; } img.left2 { float: left; margin: 20px 100px 20px 100px; } img.right2 { float: right; margin: 30px 120px 20px 120px; } img.left3 { float: left; margin: 0 110px 0 110px; } img.right3 { float: right; margin: 20px 60px 0 60px; } hr { display: none; } /* Header */ #header { width: 1030px; height: 260px; margin: 0 auto; background: url('images/img02.jpg') no-repeat right top; } /* Menu */ #menu { float: right; width: 1030px; height: 40px; padding: 220px 0 0 0; } #menu a { display: block; height: 32px; background: url('images/img06.gif') no-repeat; text-decoration: none; font-size: 13px; font-weight: bold; color: #FFFFFF; padding-left:12px; padding-right:13px; padding-top:8px; padding-bottom:0 } #menu ul { width: 1026px; height: 40px; margin: 0; padding: 0; background: #AD1011 url('images/img05.jpg') repeat-x; border-left: 2px solid #FFFFFF; border-right: 2px solid #FFFFFF; list-style-type:none } #menu li { margin: 0; padding: 0; list-style: none; float: left; } #menu li a:hover { color: #123456;} #menu div { position: absolute; visibility: hidden; margin: 0; padding: 0; background: #000000; } #menu div a { position: relative; display: block; margin: 0; padding: 3px 10px; width: auto; height: 20px; white-space: nowrap; text-align: left; background: #6c91c5; color: #ffffff;} #menu div a:hover { color: #123456;} /* Page */ #page { width: 1030px; margin: 0 auto; } /* Content */ #content { float: left; width: 990px; padding: 20px; background: #FFFFFF url('images/img07b.gif') no-repeat left bottom; } /* Footer */ #footer p { margin: 0; line-height: normal; font-size: 85%; color: #000000; } #footer a { color: #000000; } #footer a:hover { color: #666666; } Similar TutorialsI'm pretty green with CSS (okay, ALL of html ) I used a template from Mollio.org, then modified it, problem is things just dont look right in IE. url: http://www.m87-blackhole.org/foo/ css file: http://www.m87-blackhole.org/foo/css/wushuwest.css js http://www.m87-blackhole.org/foo/js/common.js The biggest problem is the handling of png+transperancy, I added a fix for it in common.js but it doesnt seem to work very well. Also, the head image, in firefox it has a width of 800, which is what I want, but in IE it spans the entire page, how can I fix that? Any ideas, pointers or resources? Thanks, Mike Essentially it lines up correctly but when I view it in firefox it doesn't. How should I tweak my code to make this work? Here is the url: http://www.westcadet.com/designs/index.htm Here is the CSS code snippet that is making this all work Code: /*--------------- Navigation Layout Begin ---------------*/ #HeaderTopLeftInnerRight { width:618px; height:100px; vertical-align:top; } #NavMenu { width:600px; padding-top:22px; } #NavMenu ul { list-style: none; margin-left:22px; } #NavMenu li { float: left; padding-left:8px; padding-right:8px; } #NavMenu li a { color:#FFFFFF; text-decoration: none; } #NavMenu li a:hover { color:#EB2A2D; } .NavChosen { background-color: #858181; color:#FFFFFF; } I cannot find the problem. I spent long enough time trying to get a similair look in both IE and FireFox, now I am the closest to it, and there is an overflow problem. It is working in IE, however, FireFox is not displaying it how I want it to be displayed. http://kingtoad.net/development/eticket/ Hi, im just getting into CSS, and decided to convert my website from HTML w/ Tabkes to CSS , for smaller load times, make it more professional.. My problem is, I just finished and it looks fine under Firefox (Linux & Windows).. But it looks absolutely horrible in IE? Can anyone find an mistake. I validated the CSS with W3's validater thing. http://mp3realm.org/new/index.php (First one) http://mp3realm.org/new/search.php (search page) http://mp3realm.org/new/default.css (CSS) Thanks. <body> <div id="wrapper" style=" vertical-align:middle;"> <div id="border-top"> <div id="border-left"> <div id="border-right"> <div id="border-bottom"> </div> </div> </div> </div> </div> </body> body { background-color:#5E362C; margin: 0 0 0 0; } #wrapper { width: 828px; height: 558px; position:relative; left: 50%; margin-left:-414px; } #border-top { background-image: url(../Webdesign/MIRAGE services1_r2_c2.jpg); background-position:top left; background-repeat:no-repeat; width: 828px; height: 558px; } #border-left { background-image: url(../Webdesign/MIRAGE services1_r3_c2.jpg); background-position:top left; background-repeat:no-repeat; width: 828px; height: 558px; margin-top:20px; } #border-right { background-image: url(../Webdesign/MIRAGE services1_r3_c18.jpg); background-position:top right; background-repeat:repeat-y; width: 828px; height: 557px; margin-top:-20px; margin-bottom:20px; } #border-bottom { background-image: url(../Webdesign/MIRAGE services1_r10_c3.jpg); background-position:bottom right; background-repeat:no-repeat; width: 828px; height: 558px; margin-top:-1px; } Thanks for the help ! Hi. I am thinking my two problems are related! Here are my two problems: My top nav bar links don't work in Firefox and the design breaks in IE7. Any help would be much appreciated! I have validated it, and I know the slider and video don't validate, but I still have these problems even when I take those out. Thanks so much for any help you can provide! christthesavior.org Thank you!!! look at my site. it is very boxy and almost TOO structured. is there a design trick i can use to mix it up a little? specific examples would be greatly appreciated. Oh, to say I'm gutted is under-rated, I thought I had mastered what is CSS design for one of my sites, that was until I decided to test it at work on FireFox, Netscape and Mozilla. For a start the content isn't in the center of the page, and some of the div's seem to be constrained into the right hand column, not sure why. The page looks perfect in IE. But messed up in the others, I am kicking myself I have left it so late to check. If any very nice person/people can help me sort this out I would be sooo happy, especially if I can understand why it is so messed up. I'm not really that technical, I'm a graphic designer so if you can help, keep it fairly simple please. The link is: http://www.gladiatorszone.co.uk/main_new1.shtml I think it might be a position element wrong or a float? Hi, Ive created this website - if you type in solfex limited in google - the address is solfex.co.uk (sorry i cannot post url as im a new user and it works wonders in IE but it goes horribley wrong in firefox I used css to create the website, Im not a firefox user so i have no idea how to fix this I really need help here is my css - CSS Code: Original - CSS Code body { /* for IE; otherwise, BG isn't fully stretched */ margin: 0px; } #bg { position: fixed; margin: 0px; border: 0px; padding: 0px; left: 0px; top: 0px; width: 100%; height: 100%; overflow: hidden; z-index: 0; } #bg img { width: 100%; } #body { position: absolute; left: 0%; top: 0%; width: 98%; height:98%; padding: 1%; z-index: 10; } #title {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-65px; margin-left:25px; } #title1 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-205px; margin-left:10px; } #title2 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-125px; margin-left:5px; } #title3 {font-family:"Myriad","Arial","Times New Roman",; font-size:14px; color:#FF6A0A; font-weight: bold; margin-top:-150px; margin-left:5px; } #text { margin-left: -30px; margin-top: 6px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } #text1 { margin-left: 3px; margin-top: 6px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; } #text2 { margin-left: 30px; margin-top: 5px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; } #table{ margin-left: 90px; margin-top: -10px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } #table1{ margin-left: 90px; margin-top: -100px; font-family:"Myriad","Arial","Times New Roman",; font-size:13px; color:#000; font-weight: bold; text-align: center; } .underlinemenu{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:-60px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 20px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu ul li{ display: inline; } .underlinemenu ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu ul li a:hover, .underlinemenu ul li a.selected{ color: #000; } .underlinemenu1{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:110px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu1 ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 20px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu1 ul li{ display: inline; } .underlinemenu1 ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu1 ul li a:hover, .underlinemenu1 ul li a.selected{ color: #000; } .underlinemenu2{ font-weight: bold; font-family:"Myriad","Arial","Times New Roman",; font-size:15px; width: 100%; height:74px; margin-top:-77px; margin-left:-90px; background-image:url('images/footer.jpg'); } .underlinemenu2 ul{ /*6px should equal top padding of "ul li a" below, 7px should equal bottom padding + bottom border of "ul li a" below*/ margin-left: -2px; margin-top: 22px; text-align: center; //set value to "left", "center", or "right"*/ } .underlinemenu2 ul li{ display: inline; } .underlinemenu2 ul li a{ color: #fff; padding: 0 0 0 0; /*top padding is 6px, bottom padding is 4px*/ margin-right: 20px; /*spacing between each menu link*/ text-decoration: none; } .underlinemenu2 ul li a:hover, .underlinemenu2 ul li a.selected{ color: #000; } #container{ height: 400px; width: 100%; position: relative; margin-top: 32px; margin-left: -12px; } #background{ position: absolute; } #content{ z-index: 2; position: relative; top:315px; left:80px; } #content1{ z-index: 2; position: relative; top:315px; left:5px; } div#navbar2 { height: 30px; width: 100%; background-color: #ccc; margin-top:50px; margin-left:25px; } div#navbar2 ul { margin: 0px; padding: 0px; font-family: Arial, Helvetica, sans-serif; font-size: small; color: #000; text-align:center; line-height: 30px; white-space: nowrap; background-color: #ccc; } div#navbar2 li { list-style-type: none; display: inline; background-color: #ccc; } div#navbar2 li a { text-decoration: none; padding: 7px 10px; color: #000; background-color: #ccc; } div#navbar2 li a:link { color: #000; } div#navbar2 li a:visited { color: #000; } div#navbar2 li a:hover { font-weight: bold; color: #000; } #slantedmenu{ font-weight: bold; font-size: 100%; font-family:"Myriad","Arial","Times New Roman",; width:100%; margin-top:50px; margin-left:310px; } #slantedmenu:after{ /*Add margin between menu and rest of content in Firefox*/ content: "."; display: block; height: 0; clear: both; visibility: hidden; } #slantedmenu ul{ text-indent: 10px; padding: 3px 0; text-align: center; /*set value to "center" for example to center items*/ width:100%; } #slantedmenu ul li{ display: inline; } #slantedmenu ul li a{ color: #494949; padding: 3px 0; padding-right: 20px; margin: 0; text-decoration: none; background: transparent url(images/slantdivider.gif) top right no-repeat; } #slantedmenu ul li a:visited{ color: #494949; } #slantedmenu ul li a:hover{ color: #0033CC; } div#link {font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:link { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:visited { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } div#link a:hover{ font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#336699; text-decoration:none } div#link a:active { font-family:"Myriad","Arial","Times New Roman",; font-size:12px; color:#000; text-decoration:none } #link5 { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; margin-left: 1px; } #link5 a:link, #link5 a:visited { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } #link5 a:hover { color: #0033CC; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } #link5 a:active { color: #666; text-decoration:none; font-size: 13px; font-family:"Myriad","Arial","Times New Roman",; font-weight: bold; } body { Thanks Ruksana This probably is an easy thing but I have tried a lot of things and I cant center the website on firefox. it looks good on internet explorer. When you open the website it positions itself on the center and even when you resize the browser. This is how I want it to behave in Firefox. The site is temporary on: http://www.danielyanez.com and the css is on: http://www.danielyanez.com/Stylesheet.css I appreciatte any help in advance and I hope someone can give me a hand, thanks !!!! Hello.. I've been working on this site for my Daughter using Wordpress, I've mashed about the CSS, Modding a template for the desired look for the site. I've tied validating it and it brings up a couple of strange comments about the </body> and </html> closing tags, I presume this is why IE7 is having problems displaying the page. Firefox doesn't seem to have an issue at all. I was hoping somebody could take a look at the source with a fresh set of eyes and let me know what is wrong, I've spent hours working on this and can't see it for the life of me. I'm sure it's something simple, I know I had an issue one time where a <P> tag wasn't closed and stopped the whole site being displayed... thanks. blog.mirana[dot]co[dot]uk 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!!! Hey guys i have some image layout problems with my images on safari and firefox on Mac only. Firefox and safari on PC seem fine but its only happening on Mac. The positioning of the images have moved dramatically. Not sure how to fix it CSS is validated and so is xhtml strict I'm having a bit of trouble trying to figure out the problem he http://www.lovemeforme.org/alecia as you can see, in IE the main content is over about 3px, but in firefox it's perfect.. i'm a perfectionist and it's really bothering me. Thanks in advance! Ie is driving me nuts, well I'm coding this web page and it looks perfect so far in firefox, but it looks messed up in IE http://drowninginmytears.org/store/blah.html thats the link.. i want it to look how it is in firefox in IE, but I'm not sure how.. this is my css: Code: body { margin: 0px auto; background-color: #BFD1E1; text-align: center; padding: 0px; background-position: top; } #wrap { position: relative; margin: 0 auto; text-align: left; width: 679px; } #hearts { background-image: url(hearts.jpg); height: 44px; width: 43px; position: absolute; margin-left: 490px; } #girl { background-image: url(girl.jpg); margin-top: 190px; height: 358px; width: 142px; margin-left: 10px; } h4 { font-family: Arial, verdana, tahoma; text-transform: uppercase; font-size: 1.0em; text-align: right; font-weight: bold; color: #5886B2; letter-spacing: 0px; padding: 10px 20px 0px 0px; margin: 0; } h5 { font-family: verdana, Arial, tahoma; text-transform: uppercase; font-size: 0.7em; text-align: right; line-height: 5px; font-weight: bold; color: #C3D4E3; letter-spacing: 3px; padding-right: 17px; margin: 0; } #navigation { font-family: verdana, Arial, tahoma; text-transform: uppercase; font-size: 0.54em; text-align: left; font-weight: bold; color: #769DBF; letter-spacing: 1px; margin-top: 25px; margin-left: 20px; position: absolute; } #toptitle { background-position:top; height: auto; width: 768px; background-image: url(bg.jpg); padding: 0px; margin: 0px; } #blueline { height: 6px; width: 752px; background-color: #D8E8F8; margin-top: 8px; margin-left: 8px; margin-right: 0px; position: absolute; } #headerimage { height: 173px; width: 752px; background-image: url(main.jpg); margin-top: 15px; margin-left: 8px; position: absolute; } #main { margin-top: 100px; width: 768px; margin: 20px 0; margin-left:40px; display: inline; } #header { background-image: url(top.jpg); vertical-align: bottom; height: 10px; width: 768px; margin-top: 20px; padding: 0px; } #bottom { background-image: url(bottom.jpg); vertical-align: bottom; height: 17px; width: 768px; margin-top: 0px; padding: 0px; } p { text-align: justify; color: #555; margin-top: 0px; margin-bottom: 9px; } .caps { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; } ol { margin: 0; padding: 0; } ul, li { color: #666; list-style-type: none; border: 0; margin: 0; padding: 0; } a:link, a:visited { color: #FA65CD; text-decoration: none; } a:hover { color: #FD92E0; } a:active { color: #FB7FD7; } #container { position: relative; margin: 0 auto; text-align: left; background: url(bgfront.gif) repeat-y; width: 679px; } #content { padding: 28px 20px 0 20px; min-height: 200px; } can anyone help? thanks! I think all I need is a new set of eyes. I have an XHTML-Strict-All-Div-Perfect layout for a new site I am working on. I have all of the heights and widths and alignments perfect. Everything was supurb until I added content that extends greater than 100% of the viewport. Typical story, I know. The thing is, I have made hundreds of web sites and came across and fixed that problem. I've used min-height, I've made sure to include all containers like html and body.. I am pretty sure I've done it all. So what's up? Please take a look at the site and tell me what you think. Realms Of Role Playing Hi all, I'm pretty anal about the layouts I make.. especially when it comes to my own site. This is the first time I have really attempted designing to validate within the strict doctype. The only thing is the layout I am trying to get to work requires A LOT of layers, and a lot of them need to line up with eachother. I am running in to problems because some layers are pushed down further than others on the page. The difference is noticeable (10 or 15 pixels) when I change from Firefox to Explorer. Is there anyway around this, am I missing something here? My page is uploaded at http://www.studioflow.net/display.html and my css file is here http://www.studioflow.net/sfglobal.css Do I need to just abandon my quest for pixel perfect alignment? Thanks, alan My website open fine in pretty much everything except IE (Ie is terrible). I tried to use the "if ie" stylesheet link but its not working. Help please. Test server is http://ivorygaming.clanservers.com/debuhrs HTML Code: <html> <head> <title>deBuhrs Seed & Feed</title> <!--[if IE 7]> <link href="ie.css" rel="stylesheet" type="text/css"> <![endif]--> <link rel="stylesheet" type="text/css" href="mystyle.css" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> </head> <body bgcolor="#070707"> <div id="navbar"><ul id="navbar"> <li><a href="index.html"><span id="green">H</span><span id="white">ome</span></a></li> <li><a href="about.html"><span id="green">A</span><span id="white">bout</span></a></li> <li><a href="staff.html"><span id="green">S</span><span id="white">taff</span></a></li> <li><a href="products.html"><span id="green">P</span><span id="white">roducts</span></a></li> <li><a href="contact.html"><span id="green">C</span><span id="white">ontact</span></a></li> </ul> <div id="logo"></div> <div id="front"></div> <div id="side"></div> <h2>New Website</h2> <hr color="#b9bab9" width="60%" align="left" height="50%"> <p class="postinfo">posted by Bernie deBuhr at 10.39 p.m. Sunday, July 4th, 2009</p> <p class="content">    deBuhr's Feed and Seed is a 4th generation retail store located in downtown Mattoon. We sell a huge selection of pet feed and supplies, horse feed and other livestock feed along with many products for your lawn and garden. We are service oriented.deBuhr's Feed and Seed is a 4th generation retail store located in downtown Mattoon. We sell a huge selection of pet feed and supplies, horse feed and other livestock feed along with many products for your lawn and garden. We are service oriented.deBuhr's Feed and Seed is a 4th generation retail store located in downtown Mattoon. We sell a huge selection of pet feed and supplies, horse feed and other livestock feed along with many products for your lawn and garden. We are service oriented.</p> <div id="bottom"></div> <div id="container"></div> </body> </html> ie.css Code: @charset "utf-8"; /* CSS Document */ body { margin: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; padding: 0; text-align: center; } #container { width: 1024px; height: 15px; margin: 0 auto 0 auto; text-align: left; } #logo { height: 112px; width: 702px; padding-bottom: 0px; padding-top: 0px; margin-top: 1000px; margin-left: -200px; background: #FFF url('images/logo.png') ; } #front { height: 269px; width: 619px; padding-bottom: 0px; padding-top: 0px; margin-top: 0px; margin-left: 5px; background: #FFF url('images/front.png') ; } #side { height: 444px; width: 312px; padding-bottom: 0px; padding-top: 0px; margin-top: -269px; margin-left: 700px; background: #FFF url('images/side.png') ; } #block { height: 25px; width: 111px; padding-bottom: 0px; padding-top: 0px; margin-top: -177px; margin-left: 10px; background: #FFF url('images/block.png') ; } #block1 { height: 25px; width: 111px; padding-bottom: 0px; padding-top: 0px; margin-top: -25px; margin-left: 124px; background: #FFF url('images/block.png') ; } #block2 { height: 25px; width: 111px; padding-bottom: 0px; padding-top: 0px; margin-top: -25px; margin-left: 238px; background: #FFF url('images/block.png') ; } #block3 { height: 25px; width: 111px; padding-bottom: 0px; padding-top: 0px; margin-top: -25px; margin-left: 352px; background: #FFF url('images/block.png') ; } #block4 { height: 25px; width: 111px; padding-bottom: 0px; padding-top: 0px; margin-top: -25px; margin-left: 466px; background: #FFF url('images/block.png') ; } #navbar ul li { padding-left: -10px; position: relative; display: inline; padding-top: 383px; color: #FFFfff; float: left; font-size: 10pt; font-family: arial; font-style: italic; margin-left: 15px; } #green { color: #9bf006; font-size: 11pt; font-family: arial; font-style: italic; } #white { color: #c8cbc3; font-size: 9pt; font-family: arial; font-style: italic; } a { text-decoration:none; color:#930; border-bottom: 1px solid #5b8c04 } h1,h2,h3,h4,h5 { margin:0; text-align:left; color:#9bf006; font: arial; margin-top: -100px; margin-left: 15px; } p.postinfo { margin:0; text-align:left; color:#a0a19e; font: arial; margin-top: 0px; margin-left: 35px; font-size: 8pt; } p.content { margin:0; text-align:left; color:#c6c6c6; font: arial; margin-top: 15px; margin-left: 40px; font-size: 10pt; width: 600px; height: 200px; } p.phone { margin:0; text-align:left; color:#c6c6c6; font: arial; margin-top: -180px; margin-left: 40px; font-size: 10pt; } p.email { margin:0; text-align:left; color:#c6c6c6; font: arial; margin-top: 3px; margin-left: 40px; font-size: 10pt; } #bottom { height: 269px; width: 619px; padding-bottom: 0px; padding-top: 0px; margin-top: 0px; margin-left: 5px; background: #FFF url('images/bottom.png') ; } Hi, we are hoping someone can help us figure out why (besides the obvious) our CSS isn't rendering our site correctly in any version of IE. If you take a look at our website (DJDeals) in Chrome or Safari, you'll see how it should look. Then take a look in IE. The shopping cart and other major features are WAY our of place... help? |