The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Problem with Unordered lists
carrot
post Feb 23 2007, 05:29 PM
Post #1





Group: Members
Posts: 2
Joined: 23-February 07
Member No.: 2,006



I'm having a problem with unordered lists. On the old version of this page (second link), someone had just used (Ampersand)#8226; and <br> to make a list. I updated it using <ul> and <li>, </li>. But now when I view it (the first link), there is a big space between each of the list items. Why is that? And more importantly, how can I make them go away? biggrin.gif
Thanks

http://utahspacecenter.org/simulators/gali...index.html#crew

http://utahspacecenter.org/simulators/gali...ndex2.html#crew

This post has been edited by carrot: Feb 23 2007, 05:32 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 23 2007, 05:38 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,648
Joined: 10-August 06
Member No.: 7



QUOTE(carrot @ Feb 23 2007, 11:29 PM) *

I'm having a problem with unordered lists. On the old version of this page (second link), someone had just used (Ampersand)#8226; and <br> to make a list. I updated it using <ul> and <li>, </li>. But now when I view it (the first link), there is a big space between each of the list items. Why is that? And more importantly, how can I make them go away? biggrin.gif
Thanks


The code is invalid, you should remove the BR elements:

CODE
<li>Fourth in line of command.</li><br>

more errors can be found with the validator. tongue.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
carrot
post Feb 23 2007, 05:40 PM
Post #3





Group: Members
Posts: 2
Joined: 23-February 07
Member No.: 2,006



QUOTE(Christian J @ Feb 23 2007, 03:38 PM) *

QUOTE(carrot @ Feb 23 2007, 11:29 PM) *

I'm having a problem with unordered lists. On the old version of this page (second link), someone had just used (Ampersand)#8226; and <br> to make a list. I updated it using <ul> and <li>, </li>. But now when I view it (the first link), there is a big space between each of the list items. Why is that? And more importantly, how can I make them go away? biggrin.gif
Thanks


The code is invalid, you should remove the BR elements:

CODE
<li>Fourth in line of command.</li><br>

more errors can be found with the validator. tongue.gif


BAHAHAHAHAHA, stupid mistake.
Thanks.
By the way, where is this validator?

Thanks for getting back to me so fast!
Chandler

This post has been edited by carrot: Feb 23 2007, 05:46 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Feb 23 2007, 05:56 PM
Post #4


.
********

Group: WDG Moderators
Posts: 9,648
Joined: 10-August 06
Member No.: 7



QUOTE(carrot @ Feb 23 2007, 11:40 PM) *

By the way, where is this validator?

See links at the top and bottom of every forum page. smile.gif

QUOTE
Thanks for getting back to me so fast!

You're welcome. Now off to the validator! tongue.gif

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 24 2007, 02:11 AM
Post #5


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(carrot @ Feb 23 2007, 11:40 PM) *

By the way, where is this validator?

Follow the link in the menu at the top and bottom of this page.

If you want to control the spacing between list itmes further you do that with CSS 'margin'. There's a link to a CSS reference in the menu too. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 01:31 AM