Posted by Steve Pugh on 02/14/06 11:57
julian_m wrote:
> I'm just looking for a way to adjust the div's position on the cell
> which is actually containing it.
>
> <td class="tdcls"><div class="divcls">whatever</div></td>
>
> for instance, say that I want to render the div 20px below the top of
> the cell.
td.tdcls {padding-top: 20px;}
or
div.divclas {margin-top: 20px;}
The CSS box model is explained at:
http://www.w3.org/TR/CSS21/box.html
and the CSS table model at:
http://www.w3.org/TR/CSS21/tables.html
Steve
Navigation:
[Reply to this message]
|