FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Space after H1

 


Possum
Hi

I find the space after the H1 tag too large.. Is there a method in CSS to control this space..

thx..
benjad
adjust either the margin or padding (or both) of the h1 element.

Check it out here: http://www.westciv.com/style_master/academy/css_tutorial/properties/margin.html
Nyizsa
There is a very important sentence on that site: "Margins can be negative values." I think you want to decrease the space. Am I right?
benjad
Maybe? Play with it. Perhaps in the default style, H1's have 1em margins. Set the margins and padding to zero first, then see what works....
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.