Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

css for cellpadding and cell spacing of a table?

Status
Not open for further replies.

rwservices

IS-IT--Management
Nov 18, 2004
1
CA
I am trying to move all style from a page to css. I am searching all over for the css equivalent of cellpadding and cellspacing for the <table> tag.

I have found so mucjh conflicting info, and none has worked. with nothing at all , the table defaults to a padding of 1px, and a spacing of 2px. I need zero for everything. if i just have
Code:
<table width"640" cellpadding="0" cellspacing="0">
it causes the problem to go away. I want to move this to css.

Should I use the css for the <td>'s of the table to accomplish this?>
 
Like this:

Code:
<table style="border-collapse: collapse; width: 640px;">

*cLFlaVA
----------------------------
"Holy crip he's a crapple!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top