About
Pricing
Community
Teams
Start Free Trial
Log in
Shawn
asked on
3/7/2011
list heading too much space
I have a little list and would like it to go right under the heading but there seems to be extra space. How should I code this so right after the title there is only a sinigle line break and the list begins?
<p>title</p>
<ul>
<li>item 1</li>
<li>item 1</li>
</ul>
HTML
CSS
5
1
Last Comment
Dave Baldwin
8/22/2022 - Mon
SSupreme
3/7/2011
Add this to your markup:
<style type="text/css">
* { margin: 0px; padding: 0px;}
</style>
Also add <br /> where you what a break line.
Shawn
3/7/2011
ASKER
sorry but that kinda ruins the whole page. In need something to get the title closer to the list.
ASKER CERTIFIED SOLUTION
Dave Baldwin
3/7/2011
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Shawn
3/7/2011
ASKER
thank you
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Dave Baldwin
3/8/2011
You're welcome. Thanks for the points.
<style type="text/css">
* { margin: 0px; padding: 0px;}
</style>
Also add <br /> where you what a break line.