HighDots Forums  

Table Gridlines?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Table Gridlines? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Seth Watson
 
Posts: n/a

Default Table Gridlines? - 11-23-2008 , 06:31 PM






How can I make the gridlines (not the regular table border, line
border-collapse) show the same as the css border (solid thin black)?

In other words, I don't want the border JUST around the outside of the
table - I want the gridlines to be like the border.





** Posted from http://www.teranews.com **

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: Table Gridlines? - 11-23-2008 , 06:52 PM






In article <3f970$4929e7e3$8518 (AT) news (DOT) teranews.com>,
"Seth Watson" <what43 (AT) yahoo (DOT) com> wrote:

Quote:
How can I make the gridlines (not the regular table border, line
border-collapse) show the same as the css border (solid thin black)?

In other words, I don't want the border JUST around the outside of the
table - I want the gridlines to be like the border.
table {border-collapse: collapse;}
td {border: 1px solid;}

--
dorayme


Reply With Quote
  #3  
Old   
Johannes Koch
 
Posts: n/a

Default Re: Table Gridlines? - 11-24-2008 , 03:52 AM



dorayme schrieb:
Quote:
In article <3f970$4929e7e3$8518 (AT) news (DOT) teranews.com>,
"Seth Watson" <what43 (AT) yahoo (DOT) com> wrote:

How can I make the gridlines (not the regular table border, line
border-collapse) show the same as the css border (solid thin black)?

In other words, I don't want the border JUST around the outside of the
table - I want the gridlines to be like the border.

table {border-collapse: collapse;}
td {border: 1px solid;}
td, th {border: thin solid black}

--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Table Gridlines? - 11-24-2008 , 12:53 PM



Johannes Koch wrote:

Quote:
table {border-collapse: collapse;}
td {border: 1px solid;}

td, th {border: thin solid black}
td, th, caption {border: thin solid black}

If you have empty cells, there are additional considerations.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.