Jump to content

Div And H1 On Same Line


Mencarta
 Share

Recommended Posts

Most of us use the universal selector to set padding and margins to 0 for all page elements:* {padding: 0;margin: 0;}You'll notice the difference a lot in things like heading elements. And if you really want it at the very top, you'll change that 5px margin in your h1 definition.

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
 Share

×
×
  • Create New...