Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-12-2002, 03:11 PM   PM User | #1
jeorg
Regular Coder

 
Join Date: Jul 2002
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
jeorg is an unknown quantity at this point
cellpadding=0

what is the equivalent of cellpadding=0 for CSS2 ?

I have tried

.myTable
{

padding:0px;
border-spacing:0px;
border-collapse:collapse;
}

but it doesn't work at all
jeorg is offline   Reply With Quote
Old 07-12-2002, 06:33 PM   PM User | #2
pb&j
Regular Coder

 
Join Date: Jun 2002
Location: Canada
Posts: 254
Thanks: 0
Thanked 0 Times in 0 Posts
pb&j is an unknown quantity at this point
try adding the margin and border properties too.

.myTable
{
padding:0px;
border-spacing:0px;
border-collapse:collapse;
margin:0px;
border:0px;
}
pb&j is offline   Reply With Quote
Old 07-12-2002, 08:58 PM   PM User | #3
jeorg
Regular Coder

 
Join Date: Jul 2002
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
jeorg is an unknown quantity at this point
doesn't work

yes I did it but it doesn't work

.tb_one
{
width:780px;
height:147px;
background-color:#FF0066;
border:0px;
padding:0px;
border-collapse:collapse;
border-spacing:0px;
margin:0px;
}

----------------------------------------
<TABLE class="tb_one">
is different than
<TABLE class="tb_one" cellpadding="0">

seems that CSS2 cannot replace cellpadding="0" for IE6
jeorg is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 06:43 AM.


Advertisement
Log in to turn off these ads.