|
-
Nov 20th, 2001, 08:35 PM
#1
Thread Starter
Member
More tricky CSS table questions [resolved]
I want to change the cell padding for some cells but have different values for horizontal and vertical pads. For example, I want a 10 pixel margin on each side of the cell but only a 2 pixel margin above and below the cell.
Since pure HTML can't do it that I know of, any CSS tricks I don't know about?
Last edited by filburt1; Nov 20th, 2001 at 08:46 PM.
-
Nov 20th, 2001, 08:42 PM
#2
Fanatic Member
you can use:
Code:
TD {padding-top: 2px; padding-bottom: 2px;
padding-left: 10px; padding-right: 10px;}
or
Code:
TD {padding: 2px 10px}
Blade
-
Nov 20th, 2001, 08:46 PM
#3
Thread Starter
Member
Bee-utiful, thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|