...

View Full Version : How to specify cellspacing & cellpadding in css?



wood_flower
03-14-2005, 09:01 AM
Hello,

I have to change this HTML code <table width="100%" border="1" cellspacing="1" cellpadding="3"> to css code. I have done with width and border attribute but don't know how to set cellspacing and cellpadding attributies in css code.

Please, help me asap. Thank you very much!

ronaldb66
03-14-2005, 09:40 AM
Padding on the individual cells can be set through the padding property; cell spacing should be controllable with styles in the separated borders model, but is not correctly supported by IE. If you need the cells to be spaced out, it's adviced to maintain using the cellspacing attribute.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum