djcubez Posted June 12, 2008 Share Posted June 12, 2008 I'm having a problem with my layout where there seems to be a padding-top of 9px that firefox reads, it's entirely messed up. I spent all day looking over my code yesterday and could not find out why the image in the div was being pushed down so low, it makes no effing sense and i'm at a breaking point on this. You can see it here: http://www.thedjcubez.com/work/knuckleheads/ Here's a side-by-side comparison: http://www.thedjcubez.com/work/knuckleheads/Screenshot_SBS.jpg index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Knuckleheads Tobacco</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <div id="wrapper"> <div id="border"> <div id="header"> <div id="header_top"><img src="images/header/top.jpg" alt=""></div> <div id="navigation"><img src="images/header/left.jpg" alt=""><img src="images/navigation/home_reg.jpg" alt=""><img src="images/navigation/products_reg.jpg" alt=""><img src="images/navigation/stores_reg.jpg" alt=""><img src="images/header/mid.jpg" alt=""><img src="images/navigation/employees_reg.jpg" alt=""><img src="images/navigation/policies_reg.jpg" alt=""><img src="images/header/right.jpg" alt=""></div> <div id="header_bottom"><img src="images/header/bottom.jpg" alt=""></div> </div> <div id="container"> <img src="images/space_bar.gif" alt="spacer" /> <div id="content"> <p>Hello and welcome to www.knuckleheadstobacco.com!!! We are glad to debut our much anticipated website. After a lot of time and effort it is finally here for your viewing pleasure.</p> <p>Established in 1995 Knuckleheads has always strived to stay ahead of the competition and provide Madison and Milwaukee with the most complete tobacco and accessories stores in Wisconsin. Come on in and check out all the new and exciting products we have in stock and will continue to develop in the future.</p> <p>Thanks for your patronage!!!</p> </div> </div> </div> <img src="images/footer.jpg" alt="footer" /> </div> </body> </html> style.css /* Defaults */ * { margin: 0; padding: 0; } body { margin: 0; text-align: center; background-color: black; } img { border: 0; } /* IDS */ #border { width: 800px; background-image: url("images/background_border.gif"); background-repeat: repeat-y; } #container { width: 700px; text-align: left; margin-left : 50px; margin-right: 50px; } #content { padding: 15px; font-size: 11px; font-family: arial, sans-serif; } #header { width: 800px; height: 200px; } #header_bottom { width: 800px; height: 6px; } #header_top { width: 800px; height: 172px; } #wrapper { width: 800px; margin-left: auto; margin-right: auto; } /* Navigation */ #navigation { width: 800px; height: 22px; } Quote Link to comment Share on other sites More sharing options...
djcubez Posted June 12, 2008 Author Share Posted June 12, 2008 Solved. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.