CSS abourt order list and unorder list (<OL>, <UL>)

Discussion in 'HTML' started by Cylix, Jun 13, 2006.

  1. Cylix

    Cylix Guest

    When I using <OL> and <UL>,
    I find there is a large space at the top and bottom of the list.
    How can I set those space height in css/js ?

    Please advise. Thanks.
     
    Cylix, Jun 13, 2006
    #1
    1. Advertising

  2. Cylix wrote:
    > When I using <OL> and <UL>,
    > I find there is a large space at the top and bottom of the list.
    > How can I set those space height in css/js ?
    >
    > Please advise. Thanks.
    >


    try:

    OL, UL { margin-top: 0; margin-bottom: 0; }

    in your stylesheet ans see what happens then study:

    http://www.w3.org/TR/CSS21/box.html

    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
     
    Jonathan N. Little, Jun 13, 2006
    #2
    1. Advertising

  3. Cylix

    Cylix Guest

    Thanks Jonathan.
    The problem is solved.
     
    Cylix, Jun 14, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?ISO-8859-1?Q?G=E9rard_Talbot?=

    Whining and bitching about MSIE 6 CSS bugs and CSS support

    =?ISO-8859-1?Q?G=E9rard_Talbot?=, Jul 9, 2005, in forum: HTML
    Replies:
    0
    Views:
    427
    =?ISO-8859-1?Q?G=E9rard_Talbot?=
    Jul 9, 2005
  2. Soren Kuula
    Replies:
    2
    Views:
    517
    Soren Kuula
    Feb 1, 2004
  3. Frank & Janny Plaza
    Replies:
    4
    Views:
    633
    Kenneth Hutson
    Sep 23, 2003
  4. cspoh
    Replies:
    0
    Views:
    259
    cspoh
    Jul 31, 2003
  5. Stephan Kämper
    Replies:
    2
    Views:
    245
    Stephan Kämper
    Jan 18, 2004
Loading...

Share This Page