Applesauce17
01-18-2003, 08:36 PM
For some reason I can't get my text to stop running into the border on my cell background. I've tried divs, the p align tag and everything. Is there anything else I can try?
|
View Full Version : Text is running into border... Applesauce17 01-18-2003, 08:36 PM For some reason I can't get my text to stop running into the border on my cell background. I've tried divs, the p align tag and everything. Is there anything else I can try? Alcy 01-18-2003, 11:52 PM You could try 'padding' the cell - hehe, sound like something from an asylum, lol. <table> <tr> <td style="padding:5px;"> Greetings </td> </tr> </table> In this case, the text should end 5 pixels from each side of the cell. You can specify different values for the padding for the top, bottom, left, and right (ie. style="padding-top:10px; padding-bottom:3px; padding-left:0px; padding-right:5px;") :D |