HighDots Forums  

table cell spacing

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


Discuss table cell spacing in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian Tremblay
 
Posts: n/a

Default table cell spacing - 08-22-2003 , 12:21 PM






An artist has a catalogue of her work in 3 tables, url

< http://www.julietremblay.com/test/po...catalogue.html >
(valid html 4.01 strict)

She wants the table head to be white on blue, and the data cells to
have a white background like the rest of the page. (The cells contain
links; thus, they should be gold on white.) She also wants borders
around the table and between rows, but not between cells.

I changed the colors of TH, added left and right borders on the table
(table class="catalogue"), and put a bottom border on each row. From
my css:

..catalogue {
border-collapse: collapse ;
border-left: 1px solid #69f ;
border-right: 1px solid #69f ;
padding: 0 ;
}

TD {
border-bottom: 1px solid #69f ;
}

TH {
text-align: left ;
color: white ;
background: #69f ;
}


css files (checked and free of errors or warnings):
< http://www.julietremblay.com/test/css/default.css >
< http://www.julietremblay.com/test/css/complex.css >

On Moz 1.3, O7, and MSIE5 (on Win 2k), I get what I'm after. On MSIE
5/Mac, however, there are spaces between columns. Screen shot at
< http://www.julietremblay.com/test/catalog.jpg >

Does anyone know how to tighten things up?

--
Brian
follow the directions in my address to email me



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 - 2008, Jelsoft Enterprises Ltd.