how to remove left cellspace

Can you really just remove the cellspace about the left of td but keep space on the right top in addition to bottom

fundamental example

< dining room table width=" 100%" height=" 351" border=" 0" cellpadding=" 0" cellspacing=" 2" >
< tr>
< td> < dining room table width=" 100%" height=" 237" border=" 0" cellpadding=" 0" cellspacing=" 2" >
< tr>
< td bgcolor=" #FF0000" > & nbsp; < /td>
< td bgcolor=" #FFFF00" > & nbsp; < /td>
< td bgcolor=" #0000FF" > & nbsp; < /td>
< /tr>
< /table> < /td>
< /tr>
< /table>

Gives thanks

Since you are not using a line, padding will do fine for you. Use CSS that will specify your extra padding as < major, right, botton, left> models.

< dining room table cellspacing=" 0" cellpadding=" 2" border=" 0" style=" cushioning: 2px 2px 2px 0px; border-collapse: collapse" >

or, as a less confusing approach to do it:

….. style=" padding-left: 2px padding-right: 0px; padding-top: 0px; padding-bottom: 0px; "……

or just

….. style=" padding-left: 2px; "…..

actually your order is actually wrong.

TRouBLed

….. style=" padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 2px; "……

http: //www. mezzoblue. com/css/cribsheet/

also…. sorry, i didn’t know they needed to be in a distinct order: $

Many thanks everyone this simple css solution have been effective.

TD. setbox
padding-top: 2px;
padding-right: 2px;
padding-bottom: 2px;
padding-left: 0px;

This entry was posted in Web Design and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *