|
Posted by Adrienne Boswell on 05/10/07 08:15
Gazing into my crystal ball I observed dorayme
<doraymeRidThis@optusnet.com.au> writing in news:doraymeRidThis-
681D3B.16573010052007@news-vip.optusnet.com.au:
> In article
><1178778319.664852.70410@e51g2000hsg.googlegroups.com>,
> temujin <elbor_x@hotmail.com> wrote:
>
>> Dear Group,
>> I΄m trying to create a simple table in HTML. With this basic code,
>> the result is a table with each cell having a frame around it,
>> separation between to adjacent cells are thus 2 solid lines as each
>> cell has a frame around it and a lot of space wasted.
>> Is there any way to avoid this, i.e. to get a simple table with only
>> one line element between each cell?
>>
>> <TABLE WIDTH="100%" BORDER=1 RULES=ROWS CELLPADDING=0>
>> <TR>
>> <TD> some text</TD>
>> <TD> some text</TD>
>> </TR>
>> </TABLE>
>>
>
> You can add cellspacing="0" to your little story in the table tag
> to get just a "single" border. Others will soon be informing you,
> rightly, how to do it in css.
table {border-collapse: collapse}
td {border:1px solid #c0c0c0;}
> I can see them coming in a big rush
> and I am scared and have to go before I get knocked down.
>
No need to rush off, I would never knock you down.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
[Back to original message]
|