Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 19th, 2004, 12:47 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Default what is table cellspacing equivalent in css?

hi all,
I guess the question in subject was clear enough :)

 
Old September 19th, 2004, 01:56 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

The border-spacing property is one. It accepts 1 or 2 length values. If 2 values; one is the horizontal spacing and the other is the vertical spacing. If only 1 value it's both. This one doesn't work in IE though.

There's also the border-collapse property, which /is/ supported by IE. border-collapse: collapse; removes spacing between cells, this is the same thing as boder-spacing: 0; declaration.

HTH!

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old September 19th, 2004, 02:04 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

If you want to reference the specs, you can find these properties here:
http://www.w3.org/TR/CSS21/tables.html#borders

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old September 19th, 2004, 08:54 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for both the answer and the link
You know...we're obliged to use stylesheets for everything in our HTML pages for this project in the company.And I searched everywhere to find the equivalent proprety and faild to find it.
Is there anywhere on web that I can find the stylesheet equivalents faster for any element's properties not just for tables ?

 
Old September 19th, 2004, 09:39 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

http://www.w3.org/Style/CSS/
http://www.w3.org/TR/CSS21/
http://www.w3.org/Style/CSS/current-work

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail
 
Old September 19th, 2004, 09:48 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thank you very much






Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS for Table cellspacing and cellpadding shurabhavesh CSS Cascading Style Sheets 1 March 17th, 2006 08:47 PM
<font face="verdana" size=2> exact equivalent -CSS crmpicco CSS Cascading Style Sheets 6 November 26th, 2005 04:41 PM
cellpadding="0" cellspacing="0" in CSS crmpicco CSS Cascading Style Sheets 2 November 18th, 2005 07:30 AM
Oracle's Analyze Table equivalent ? smitha SQL Server 2000 1 October 27th, 2004 04:04 PM
what is table cellspacing equivalent in css? nerssi Javascript 1 September 19th, 2004 02:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.