question about stylesheet

liunx

Guest
Hello

I have some div elements that has been declared in a css. I have made up some example below. My question is in one div element I want to have a table with some data and I want this data to have a certain style so here is my example

------------------------
#main{
top:20px;
left: 1px;
.
.
.

}

plain{
//some values
}

.
.
.
<div id="main">
<table>
<tr>
<td class="plain">
some values
</td>
</tr>
</table>
</div>
.
.
---------------------------------------

What am I doing wrong why doesn't my values in my table get the properties of 'plain'?

Thanks for helping me

/D_S.plain{
//some values
}
you forgot the dot/periodthank you very much!
 
Back
Top