TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

..just can't start writing with < p >

Page: 1 Reply
Aug 13th 2001#12794 Report
Member since: Mar 20th 2001
Posts: 319
So I wan't to have a little space between the top of the cell without using the < cellpadding=whatever > property!! I try to start the papagraph with < p > , but nothing happens!! HELP ME!! Thanks :D
Reply with Quote Reply
Aug 13th 2001#12847 Report
Member since: Aug 11th 2001
Posts: 14
I would use CSS, myself (but that's because I'm a CSS whore). Use { padding: top right bottom left }. This is demonstrated in the following code.

< html >
< head >
< style >
td.margins { padding: 1em 2em 3em 4em; background-color:red }
< /style >
< /head >
< body >

< table border=0 cellpadding=0 cellspacing=0 >
< tr >< td class='margins' >
This padding sucks!
< /td >< /tr >
< /table >

< /body >
< /html >

Hope this is what you were looking for. To my knowledge, and the knowledge of the w3 recommendation (http://www.w3.org/TR/html401/struct/tables.html#h-11.3.3), table margins in HTML 4.01 must be uniform all the way around, via cellpadding. Later,

--Tim A.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum