Jump to content

Can't Add Padding To A Block Element


Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...