CSS newb

PastaPete

Member
Jul 8, 2005
168
0
0
I want to write a simple CSS file that will give me double spacing in the entire site. I want to have one section "content" 's <p> tag to have single spacing however. Why doesn't this work


<p>Hi</p><p>Welcome to the site</p>
<div id="content">
<p>anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech anandtech </p>
</div>


IN THE CSS FILE:


body {
font-family: tahoma, helvetica, arial, sans-serif;
font-size: 9px;
text-align: center;
background: #000;
color: #ddd4d4;
padding-top: 12px;
line-height: 2;}

#content {
float: right;
width: 362px;

}

#content .content {
margin: 0px;
}
#content .p {
margin:0px;
padding-top:0px;
padding-bottom:0px;
padding-right: 20px;
padding-left: 20px;
line-height: 0;
}

Thanks!