Reply
Help removing extra space in an HTML list
Old 04-25-2006, 03:51 PM Help removing extra space in an HTML list
Junior Talker

Posts: 3
I have a simple unordered list with no bullets. But my issue now is there is too much of a gap between the heading and the list below it.

here is the example:

The Team
<ul style="list-style:none">
<li>person 1- IC</li>
<li>person 2</li>
<li>person 3</li>
<li>person 4</li>
<li>person 5</li>
<li>person 6</li>
<li>person 7</li>
<li>person 8</li>
<li>person 9</li>
<li>person 10</li>
<li>person 11</li>
<li>person 12</li>
<li>person 13</li>
<li>person 14</li>
</ul>


This add too much space between
The Team
<-------This is the gap I want to get ride of
person 1
person 2




Thanks for any help
heygfy is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-25-2006, 04:44 PM Re: Help removing extra space in an HTML list
chrishirst's Avatar
Super Moderator

Posts: 13,481
Location: Blackpool. UK
add margin-top:0px; to the <ul> style
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Help removing extra space in an HTML list
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11361 seconds with 12 queries