[thesite] proposed CSS addition
.jeff
jeff at members.evolt.org
Wed Feb 20 20:24:00 CST 2002
michele,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Michele Foster
>
> Nice solution Jeff ...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
thanks
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> The cellspacing *does* need to be set to "0" .. as Jeff
> indicated ..
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
yup, otherwise you end up with some nasty gaps between ends of lines that
should meet.
the alternative would be to add a border-collapse property to the table
declaration with a value of collapse:
border-collapse: collapse;
doing this we could eliminate the border declarations for the table and do a
composite border declaration for th and td, yet end up with a data grid with
only single pixel borders between cells.
border: 1px solid #000000;
instead of setting border-right and border-bottom to 1px and border-top and
border-left to 0px.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I added a cellpadding too, as it was too cramped for my
> liking .. not sure if we can solve either of these via
> CSS or not.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
yes, i think we can solve it by using the padding property on the th and td
declarations.
padding: 3px 3px 3px 3px;
thanks,
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thesite
mailing list