Hello,
This would be my second topic posted here, and would be my second all CSS layout attempted.
I've created an all CSS layout that uses no images...but it does use some unsure fonts. Most do have Arial Narrow / Arial Black but there will be some that don't. I know who my visitors are and I think they will have no problem with the font
Anyhow, I created the "header area"...everything shows great in IE, but once again I get shafted with mozilla.
I need help, I have no idea what is messing up my layout and believe my I have tried alot of ways to fix it.
Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>SKITSO | NET - CSS Test #2</title> <style> .constraint { width: 680px; } div { font-family: "Verdana"; font-size: 11px; color: #333; } .header { border-right: 5px #000 Solid; width: 300px; float: left; margin: 0px 5px 0px 0px; } .header2 { float: right; width: 368px; background: #fafafa; border-top: 1px #f9f9f9 solid; border-right: 1px #bbbbbb solid; border-bottom: 1px #bbbbbb solid; border-left: 1px #f9f9f9 solid; } .title { font-family: "Arial Black"; font-size: 38px; text-transform: uppercase; margin: 0px 0px -12px 0px; display: block; } .moto { font-family: "Arial Narrow"; font-size: 22px; font-style: italic; margin: 0px 0px 0px 0px; color: #555; display: block; } .keywords { font-family: "Verdana"; font-size: 10px; margin: 0px 0px 0px 0px; color: #888; line-height: 11px; text-align: justify; padding: 2px; display: block; } .slogan { font-family: "Arial Narrow"; font-size: 22px; margin: 0px 0px 2px 0px; color: #F43FAF; font-style: italic; float: right; } .break { clear: both; height: 0px; } .welcome { margin: 0px 0px 5px 0px; border-top: 5px #000 solid; } .headerc { width: 100%; margin: 0px 0px 5px 0px; } </style> </head> <body> <div class="constraint"> <div class="headerc"> <div class="header"> <span class="title"> Skitso </span> <span class="moto"> HQ Celebrity & Supermodel Pictures </span> </div> <div class="header2"> <span class="keywords"> Skitso provides <acronym title="High Quality">HQ</acronym> Celebrity and Supermodel Images. Most pictures are scanned from the world's top fashion magazines and men's lifestyle periodicals such as Maxim, FHM, GQ,Razor, and Stuff. </span> </div> </div> <div class="welcome"> This div right here is the problem. Can you help me? If you open this code up on IE, it displays FINE. In Mozilla is screws up! Why does Mozilla keep screwing me up? There this is enough text to show you my problem. </div> </div> </body> </html>






Bookmarks