Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Creating a Simple Table

Reply
Thread Tools

Creating a Simple Table

 
 
temujin
Guest
Posts: n/a
 
      05-10-2007
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>

regards
temu

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      05-10-2007
In article
<. com>,
temujin <> 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. I can see them coming in a big rush
and I am scared and have to go before I get knocked down.

--
dorayme
 
Reply With Quote
 
 
 
 
temujin
Guest
Posts: n/a
 
      05-10-2007
that simple!
thanks


 
Reply With Quote
 
Adrienne Boswell
Guest
Posts: n/a
 
      05-10-2007
Gazing into my crystal ball I observed dorayme
<> writing in news:doraymeRidThis-
:

> In article
>< .com>,
> temujin <> 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

 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      05-10-2007
In article <Xns992CCB71A76Carbpenyahoocom@69.28.186.121>,
Adrienne Boswell <> wrote:

> Gazing into my crystal ball I observed dorayme
> <> writing in news:doraymeRidThis-
> :
>
> > 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.


You would not mean to, but with a big enough crowd rushing past
me, I am easily bowled over. Collateral damage it would be for
sure. I have to get in quick, talk fast and bolt back into my pad
or I am done for. <g>

--
dorayme
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net Web Controls 0 06-01-2005 02:36 PM
"Error Creating Control" when creating a custom control (Design Time). Can't see tooltip message. Ravi Ambros Wallau ASP .Net 0 06-01-2005 02:36 PM
Table/table rows/table data tag question? Rio HTML 4 11-05-2004 08:11 AM
Could not load type VTFixup Table from assembly Invalid token in v-table fix-up table. David Williams ASP .Net 2 08-12-2003 07:55 AM
creating on-the-fly asp:table in the code file Murtix Van Basten ASP .Net 2 06-25-2003 07:19 AM



Advertisments