I am working on a website and I needed to set cellpadding on my table to 0 because the top banner of the site needs to be flush with the body of the site, but in doing so the text is right up against the "walls" of the table. How can I make it so that the text is not up against the the table border?
Site: http://www.rmbs.com
By placing in div's and define padding in it
Thanks, I will give that a try :)
Quote from: Sexy Possum on January 14, 2004, 02:28:09 PM
I am working on a website and I needed to set cellpadding on my table to 0 because the top banner of the site needs to be flush with the body of the site, but in doing so the text is right up against the "walls" of the table. How can I make it so that the text is not up against the the table border?
Site: http://www.rmbs.com
<td style="padding-left: 4px">
it can also be padding-right, top, or bottom, and you can change the px to the width of your choice.
or you can do something like this in your table tag:
style="margin-left: 10px"
I will try both of these when I get home, I also have the option of doing 2 different tables, but I'd like to use as few as possible ;)