I am fairly new at using CSS and am having trouble with getting a class to work. In a table I have text areas and picture areas so I created two classes, td.text and td.pic. My problem is coming in getting them to work. My td. pic class is:
td.pic {text-align:center;vertical-align:center;padding:10px;height:380px;}
Everything is going smoothly except the cells aren't showing the correct height. Basically, the point of using this class is to separate the pictures vertically without using padding (I don't want extra space on the left and right). In the table I have:
<td class="pic"><p><img src="pillow1.jpg" width=360 height=270 border=0></p></td>
The problem is that the cell is not giving me the extra 50 pixels I am looking for. I am using notepad to edit the css file and Amaya to edit the pages themselves. Any ideas?