Click to See Complete Forum and Search --> : why cant i make 3px cell?


zoranb
06-11-2007, 01:57 PM
Im using dweaver i cant create a cell thats only 3px height!!
why? im trying to make a thin line between cells and i dont know how.
perhaps the correct question would be how do i make lines between cells?

sticks464
06-11-2007, 10:37 PM
zoranb ask
how do i make lines between cells?
Try this
<tr>
<td><hr /></td>
</tr>
This is a horizontal line inserted in a td. If you want a certain color or height you have to use css to style it.
<tr>
<td><hr class="hrule" /></td>
</tr>
Style;
.hrule {
color:#cc3333;
width:100%;
background-color:#cc3333;
}

felgall
06-11-2007, 11:43 PM
If you set the font-height to 0 you can make any tag have as small a height as you want - as little as 1px if you like. The only reason Internet Explorer doesn't allow all tags to go that small is that if you have whitespace inside the tag it reserves sufficient height for the presumed text and so will not let you go smaller than the font-height.