Jump to content

Styling a table


Hydrian

Recommended Posts

There are a lot of parts to a table to style, you can also put styles on the tr and table tags - however, if you're trying to get the cellpadding & cellspacing attributes, AFAIK you will always have to do that in the HTML (or use JS to edit the HTML). CSS cannot do the cellpadding="0" cellspacing="0". You can use margins and padding on the cells but it's in addition to the cellpadding/spacing attr.

 

Link to comment
https://forums.phpfreaks.com/topic/268054-styling-a-table/#findComment-1375743
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.