Link to home
Start Free TrialLog in
Avatar of Revolution9
Revolution9

asked on

Controlling space under text from one style to another

I'm attaching a screen grab.  I want to control the space below my h1 style to my body copy style.  I must be getting old, because I cant figure out what CSS rule to apply to my h1.  I want the space between the h1 and body copy to be less than a normal carriage return.  What is the rule I apply to hi, or is it a rule I apply to the bodyCopy tag below? User generated image
Avatar of wuff
wuff

I'm not sure if I understand you right but it seems like you would like to use

h1 { padding-bottom: 1em; }

You can also specify in pixels

h1 { padding-bottom: 12px; }

Would also be nicer if you use padding to the left and right too (use the CSS words padding or padding-left/padding-right)

ASKER CERTIFIED SOLUTION
Avatar of wuff
wuff

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Revolution9

ASKER

Great!  Thanks so much.  Putting up another html question in a few minutes.