[vox-tech] Fwd: css: cell width and height

Joshua Morris bullring at gmail.com
Sat Dec 16 12:27:25 PST 2006


On 12/16/06, Bill Kendrick <nbs at sonic.net> wrote:
>
> Pete posted this from a non-subscribed addr, so it was discarded.
>
> ----- Forwarded message from vox-tech-bounces at lists.lugod.org -----
>
> Date: Fri, 15 Dec 2006 22:00:29 -0800
> From: vox-tech-bounces at lists.lugod.org
> Subject: Auto-discard notification
> To: vox-tech-owner at lists.lugod.org
>
> The attached message has been automatically discarded.
> Date: Fri, 15 Dec 2006 22:00:27 -0800
> From: Peter Salzman <p at cbreak.com>
> Subject: css: cell width and height
> To: vox-tech at lists.lugod.org
>
> I'm always amazed that I aced through a year of quantum field theory but
> CSS
> continually baffles me to no end.
>
> If I have some html tables, and set the height and width CSS property for
> each td element, is it guaranteed that each cell in each table will be the
> exact same height and width under all circumstances?
>
> If not, is there some way of saying "Look here, browser.  As Zeus is my
> witness, you will make this cell 3em by 2em no matter what!"



I would give the td sections an id to separate them from the other td tags
such as

<table>
     <td>foo</td>
     <td id=3D"special">bar</td>

then in you css you would have
table {height: 1px; width: 2px;}
#special {height: 3em; width: 2em;}

Hope that helps,
Joshua


----- End forwarded message -----
>
> --
> -bill!
> bill at newbreedsoftware.com
> http://www.newbreedsoftware.com/
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lugod.org/pipermail/vox-tech/attachments/20061216/2b19dfa=
c/attachment.htm


More information about the vox-tech mailing list