Forums

This topic is locked

single line border on table

Posted 26 Jul 2001 18:26:56
1
has voted
26 Jul 2001 18:26:56 Davy Fennell posted:
UDZONE uses single line borders on its tables. Can someone tell how this is done.

Many thanks

Replies

Replied 27 Jul 2001 16:46:39
27 Jul 2001 16:46:39 George Petrov replied:
Sure it is very easy:
<pre id=code><font face=courier size=2 id=code>&lt;TABLE STYLE="border: 1px black solid" </font id=code></pre id=code>

Thats it!

---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------

Replied 30 Jul 2001 15:03:43
30 Jul 2001 15:03:43 Davy Fennell replied:
George,
Thanks for this. It works. One thing however. If I use this html to edit an existing table with a dozen table cells for example, the result I get is a dozen seperate cells each sitting independently with its own border.

How can I make it so that the single line cells are together. What I want to do is provide more of Excel speadsheet look.

Do you know what I mean? The lines must look like they form part of the same table.

Thanks again

Davy


<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Sure it is very easy:
<pre id=code><font face=courier size=2 id=code>&lt;TABLE STYLE="border: 1px black solid" </font id=code></pre id=code>

Thats it!

---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Replied 30 Jul 2001 15:27:14
30 Jul 2001 15:27:14 George Petrov replied:
try with border=0 like:

<pre id=code><font face=courier size=2 id=code>&lt;TABLE BORDER="0" STYLE="border: 1px black solid" </font id=code></pre id=code>

---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------

Replied 30 Jul 2001 16:52:12
30 Jul 2001 16:52:12 Davy Fennell replied:
Thanks George. This wasn't what I was after but having looked closely at the code of a UDZONE page I have worked it out.

What I have to do is set the colour of the entire table to black for example. Adjust the cellpadding and cellspacing to a value of 1. Then colour each cell within the table as you want it and this way you have a grid like form with single line tables.

Cheers,

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
try with border=0 like:

<pre id=code><font face=courier size=2 id=code>&lt;TABLE BORDER="0" STYLE="border: 1px black solid" </font id=code></pre id=code>

---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Reply to this topic