PDA

View Full Version : Please check out this style sheet (problems)


likegluelikecrew
07-17-2006, 03:23 PM
Ok, I don't know what the hizzy I'm doing when it comes to style sheets, I worked this one up for the website I'm doing and it's totally not displaying right in Mozilla, can someone check it out and let me know what I'm doing wrong? (probably multiple things, ughh). Here it is...

body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 17px;
color: #666666;
background-color: #F7F7F7;
padding: 0px;
margin-top: 10px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
a:link {
text-decoration: none;
font-weight: bold;
color: #333366;
}
a:visited {
color: #333366;
text-decoration: none;
font-weight: bold;
}
a:hover {
color: #333366;
text-decoration: underline;
font-weight: bold;
}
.bodybold {
font-weight: bold;
line-height: 20px;
}
.bodysmallcap {
font-weight: bold;
font-variant: small-caps;
}
.bodyjust {
text-align: justify;
}
.bodybig {
font-size: 14px;
}
.bodysmall {
font-size: 10px;
}
}
.bodyreallysmall {
font-size: 9px;
color: #000000;
}
.bodysmallindent {
font-size: 10px;
text-align: justify;
padding-top: 0px;
padding-right: 20px;
padding-bottom: 0px;
padding-left: 20px;
}
.boxtext {
color: #000000;
text-align: justify;
}
.footer {
font-size: 9px;
color: #999999;
text-align: center;
}
.crumbs {
font-size: 9px;
color: #000000;
}
.bigheader {
font-size: 14px;
font-weight: bold;
color: #5F869F;
}
.smallheader {
font-size: 11px;
font-weight: bold;
color: #5F869F;
}
.pullquote {
font-size: 16px;
font-style: italic;
font-weight: bold;
color: #000099;
text-align: center;
vertical-align: middle;
}
.thumbsheader {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 10px;
font-weight: bold;
text-align: center;
}
.noborder {
border: none;
}
#pullquote {
padding: 8px;
text-align: center;
}
#tablehome {
border-left-width: 1px;
border-left-style: solid;
border-left-color: #333333;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #333333;
border-top-width: 1px;
border-right-width: 2px;
border-top-style: solid;
border-right-style: solid;
border-top-color: #333333;
border-right-color: #333333;
}
#outline {
border: 1px solid #000000;
}
#paddingbottom {
padding-bottom: 7px;
padding-left: 10px;
}
.indented {
padding-left: 8px;
}
.bigindent {
padding-left: 24px;
}
#indented {
padding-left: 10px;
}
#paddingright {
padding: 0px 15px 0px 0px;
}
.bluetext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
font-weight: bold;
font-variant: small-caps;
color: #5F869F;
}
.whitetext {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
}
.whitetext :visited {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
}
.whitetext :link {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
}
.whitetext :visited:hover {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
text-decoration:underline;
}
.whitetext :hover {
color: #FFFFFF;
font-size: 10px;
font-weight: bold;
text-decoration:underline;
}
.headerwhite {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #FFFFFF;
font-weight: bold;
font-variant: small-caps;
letter-spacing: 0pt;
}
.headerwhite :link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #FFFFFF;
font-weight: bold;
font-variant: small-caps;
letter-spacing: 0pt;
}
.headerwhite :visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #FFFFFF;
font-weight: bold;
font-variant: small-caps;
letter-spacing: 0pt;
}
.headerwhite :visited:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #FFFFFF;
font-weight: bold;
font-variant: small-caps;
letter-spacing: 0pt;
text-decoration:underline;
}
.headerwhite :hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #FFFFFF;
font-weight: bold;
font-variant: small-caps;
letter-spacing: 0pt;
text-decoration:underline;
}
.headerblack {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
font-variant: small-caps;
}
.headerblack :visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
font-variant: small-caps;
}
.headerblack :link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
font-variant: small-caps;
}
.headerblack :visited:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
font-variant: small-caps;
text-decoration:underline;
}
.headerblack :hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
font-variant: small-caps;
text-decoration:underline;
}
.blacktext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #000000;
font-variant: small-caps;
font-weight: bold;
}
.blacktext :visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #000000;
font-variant: small-caps;
font-weight: bold;
}
.blacktext :link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #000000;
font-variant: small-caps;
font-weight: bold;
}
.blacktext :visited:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #000000;
font-variant: small-caps;
font-weight: bold;
text-decoration:underline;
}
.blacktext :hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #000000;
font-variant: small-caps;
font-weight: bold;
text-decoration:underline;
}
.newsheader {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
}
.newsheader :visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
}
.newsheader :link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
}
.newsheader :visited:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
text-decoration:underline;
}
.newsheader :hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000000;
text-decoration:underline;
}
.blacktextbig {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: none;
}
.blacktextbig :visited {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: none;
}
.blacktextbig :link {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: none;
}
.blacktextbig :visited:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: underline;
}
.blacktextbig :hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
font-weight: normal;
text-decoration: underline;
}
.tableborder {
border: 1px inset #000000;
margin: 1px;
}
.leftbottom {
border-bottom-width: 1px;
border-left-width: 1px;
border-bottom-style: solid;
border-left-style: solid;
border-bottom-color: #000000;
border-left-color: #000000;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #000000;
}
.rtbottom {
border-right-width: 1px;
border-bottom-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-right-color: #000000;
border-bottom-color: #000000;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #000000;
}
.lftrtbottom {
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #000000;
}
.headerproductwhite {

font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
letter-spacing: 0pt;
}
.headerproductblack {

font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
font-weight: bold;
}
.border {
border-top-width: 1px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #000000;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #000000;
}
.thinborder {
border: 1px solid #000000;
}
.greenboxheader {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: bold;
font-variant: small-caps;
color: #FFFFFF;
text-decoration: underline;
}
.padding {
padding-top: 8px;
padding-right: 8px;
padding-bottom: 16px;
padding-left: 8px;
}

domedia
07-17-2006, 04:02 PM
With all the use of padding I'm guessing your problem lies in the box model.
Read more about it here:
http://www.dreamweaverclub.com/css-box-model.php

likegluelikecrew
07-17-2006, 04:10 PM
Am I formulating the style sheet right? Any advice on how to streamline it? Like I said, I'm new to this so I appreciate any constructive criticism.

domedia
07-17-2006, 04:50 PM
All the CSS looks valid.