...

View Full Version : Easy CellPadding Question



techgearfree
03-10-2005, 10:35 PM
I set my table to not wrap. Text is loaded from a variable. However, if the text is too long to that the nowrap causes the table to enlarge, the text is touching the left and right sides of the box (it has a border and doesn't look nice). I am trying to figure out how to give it alittle room just on the left and right sides. Is there anyway to give it a cell padding without giving it padding on top and bottom?


thanks

Bobbo171
03-10-2005, 10:46 PM
if your using using stylesheets just put this in your css file


padding-left: 8px
padding-right: 9px

or if your not using stylesheets put his in your table tag


style="padding-left: 8px; padding-right: 9px"

techgearfree
03-10-2005, 11:13 PM
Awsome! Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum