LittleNicky Posted August 8, 2006 Share Posted August 8, 2006 How do stop headers from having a line break after the txt? Also what's the best way to reduce the gap below them? Link to comment Share on other sites More sharing options...
aspnetguy Posted August 8, 2006 Share Posted August 8, 2006 try this h1{ display: inline; margin : 0px 0px 0px 0px; /*play with this value to get the proper spacing you want*/} Link to comment Share on other sites More sharing options...
Skemcin Posted August 8, 2006 Share Posted August 8, 2006 {line-height: 10px;} is another way to manipulate it. Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 25, 2006 Share Posted August 25, 2006 If you are using a style sheet, you may want to set what H1 is formated to? Link to comment Share on other sites More sharing options...
[Coyot3] Posted August 25, 2006 Share Posted August 25, 2006 to take out all space around the text do this: h1{ margin: 0; padding: 0;} to check if everything is OK you can set borders like this: h1{ border: 1px solid red;} now you know how are yours h1's. than set border to 0.Paulo A. Silva Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now