Brad Bansner
asked on
text in DIV with border on top, move text away from border downward
In attached code, the text is basically touching the top border of the DIV. I want to bump it down 4 pixels. Adding a margin-top moves the border and the text down. Adding a padding-top appears to do nothing. What is the correct way to do this? Thank you!
#exerciselist {margin: 0px 0px 9px 0px; padding 0px; width: 173px; border-top: 1px solid #c8cfd0;}
<div id="exerciselist">Exercise List</div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
padding 0px
Was missing the colon!
padding: 0px
Thanks anyway.