PDA

View Full Version : What's wrong with this style sheet?


likegluelikecrew
10-12-2005, 05:00 PM
I started my CSS by redefining my body tag (new style button, then advanced, wrote body in the box, hit ok, then set the font, size, color, margins for the page, background color). Everything worked except for the font size and line height. When I go back and edit the redefined body tag, when I change the text color and hit apply, it changes, same with font, but not with size or line height. What is up? Here's the CSS code...

body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
line-height: 17px;
color: #666666;
background-color: #F7F7F7;
padding: 0px;
margin-top: 46px;
margin-right: 0px;
margin-bottom: 10px;
margin-left: 0px;
}

A:link{color: #333366; text-decoration: none}
A:visited{text-decoration: none; color: #333366}
A:hover {text-decoration: underline}

.boxtext {
color: #000000;
}

.bodybold {
font-weight: bold;
}

.bodyjust {
text-align: justify;
}

.bodybig {
font-size: 14px;
}

.bodysmall {
font-size: 10px;
}

.footer {
font-size: 9px;
color: #999999;
text-align: center;
}
.crumbs {
font-size: 9px;
color: #000000;
}

.bigheader {
font-size: 14px;
font-weight: bold;
text-transform: capitalize;
color: #0066CC;
}

.smallheader {
font-size: 11px;
font-weight: bold;
color: #0066CC;
}

.pullquote {
font-size: 16px;
font-style: italic;
font-weight: bold;
font-variant: normal;
color: #000099;
text-align: center;
vertical-align: middle;
}

.thumbsheader {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
line-height: 10px;
font-weight: bold;
}

.noborder {
border: none;
}

domedia
10-12-2005, 05:23 PM
The CSS file looks fine, no errors.

nutradream
10-12-2005, 05:46 PM
You may be inadvertently applying this style to another area: table, etc. Select the text that has the style, then in the properties inspector select "None", to remove all styles. Then select the text, then click on the

at the bottom of your dreamweaver window, then apply the style. This should only apply it to the text you want.