mboehler3 Posted February 6, 2010 Share Posted February 6, 2010 My page is here: http://fliers.greenbranders.com/images/matt/In the header, I want "Mike Smith Homepage" to have like 20 pixels of top padding and 300 pixels of left padding. In my CSS, when I add padding-top:20px and padding-left:300px to my "header" class, the blue box extends 20px on the top and 300px to the right. I just want to position the text inside. Can someone please help me out? Link to comment Share on other sites More sharing options...
Ingolme Posted February 6, 2010 Share Posted February 6, 2010 Padding adds to the full width of a block. If you want to add padding, you'll have to subtract the same amount from the width and height of the box. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.