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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great! Thanks so much. Putting up another html question in a few minutes.
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