text padding within a table cell AAaarrrggghhhh!!!
Hello all,
I have been going nutso trying to figure out why my padding seems to work on the left and right but not on the top and bottom.
I have tested the class and it is recognizing everything but the top and bottom padding instructions.
I have pasted my code below for your analysis.
Thanks in advance for your help!
-----------------
.navlink {
font-weight: bold;
color:#000000;
font-family: Verdana, Arial, Helvetica, Sans-Serif;
text-decoration:none;
font-size: 10px;
font-style: normal;
line-height: normal;
padding: 10px 0px 10px 17px;
}
Web-coding NINJA!
Works fine for me, but you have to attach this to a block-level object, like a TD or TH or DIV. Otherwise, you'd need to use margin in the place of padding .
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
Bookmarks