Computing.Net > Forums > Web Development > CSS questions:

CSS questions:

Reply to Message Icon

Original Message
Name: Kaiser2
Date: February 8, 2006 at 18:22:49 Pacific
Subject: CSS questions:
OS: ME/98/FC4/Ubuntu
CPU/Ram: Antique
Comment:

What's the problem with using cell-padding in CSS? I find that by removing cell-padding from the <table> tags and using a seperate CSS with padding: 0; within the table selector, I end up with gaps. Is there a workaround?

Also which browsers are NOT compatible with CSS? - I'm sure there can't be many these days.

Cheers

-{>_<}DO~/}-

"Welcome to the party pal"


Report Offensive Message For Removal

Response Number 1
Name: Laler
Date: February 8, 2006 at 19:06:33 Pacific
Subject: CSS questions:
Reply: (edit)

in css you need define it in the td

td {
padding: 0px;
}

or if it's for a specific table class:

table.specificClass td {
padding: 0px;
}

is that what you mean?

---
Site of the Day


Report Offensive Follow Up For Removal

Response Number 2
Name: Michael J (by mjdamato)
Date: February 8, 2006 at 21:20:27 Pacific
Subject: CSS questions:
Reply: (edit)

Or, the problem may not be the cell padding, but the cell spacing. I remember running into problems in the past trying to remove cell spacing from tables, so I always set the value within the table tag.

Michael J


Report Offensive Follow Up For Removal

Response Number 3
Name: Kaiser2
Date: February 9, 2006 at 05:01:54 Pacific
Subject: CSS questions:
Reply: (edit)

cheers guys, sorry bit of a school boy error. It was 4am and I couldn't see the #wood for the .trees : )

I'm guessing neither of you has come across a browser that doesn't recognise CSS, good good.

-{>_<}DO~/}-

"Welcome to the party pal"


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: CSS questions:

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software