Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Possible to set table cellspacing; cellpadding in CSS?

Reply
Thread Tools

Possible to set table cellspacing; cellpadding in CSS?

 
 
Gnarlodious
Guest
Posts: n/a
 
      04-10-2004

Eh? What's the trick? Or is it not allowed?
I want a sitewide default cellspacing & cellpadding setting and it's not
working.

-- Gnarlie

 
Reply With Quote
 
 
 
 
David Dorward
Guest
Posts: n/a
 
      04-10-2004
Gnarlodious wrote:
> Eh? What's the trick?
> I want a sitewide default cellspacing


The trick is reading the chapter on tables.
http://www.w3.org/TR/CSS2/tables.html

(Note that Internet Explorer doesn't support border-spacing, but will vary
it depending on the value of border-collapse)

> & cellpadding setting


Cell: <td> / <th>
Padding: padding

td, th { padding: foo; }

> > and it's not working.


_What_ is not working?

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
 
Reply With Quote
 
 
 
 
Gnarlodious
Guest
Posts: n/a
 
      04-10-2004
Entity David Dorward spoke thus:

> (Note that Internet Explorer doesn't support border-spacing, but will vary
> it depending on the value of border-collapse)


ARGH! My browser doesn't support it! (iCab for Mac)

Thanks.

-- Gnarlie

 
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
CellPadding Uriah Piddle ASP .Net 0 03-08-2007 02:14 AM
cellspacing und cellpadding =?UTF-8?B?TWFydGluIFDDtnBwaW5n?= HTML 6 08-14-2005 10:36 AM
cellpadding - css Jan Faerber HTML 4 12-08-2004 01:54 PM
CSS equiv for cellspacing & cellpadding Todd Cary HTML 12 09-18-2004 08:37 PM
Unwanted cellpadding in IE6 tables? Lorne Cameron HTML 9 06-27-2003 11:58 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57