Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2002
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Very Quick and Easy <UL> Question

    I am making a list on a website, and I have it set up as:
    <ul><li>blah1
    <li>blah 2
    <li>blah 3
    <li>blah 4
    <li>blah 5
    <li>blah 6</ul>

    Each time I put in <UL>, I get a big space above it(about the size of to <br>'s. How can I get rid of this? If I don't put the <UL> in, anytime the text after the <li> is too long for one line, it doesn't indent on the next line(and looks bad).

    I know there has to be an easy CSS or HTML tag to add on this... I just don't know it/or can't think of it at the moment... thx guys

  • #2
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,266
    Thanks
    6
    Thanked 48 Times in 48 Posts
    <ul style="margin:0px">
    <li>blah1</li>
    <li>blah 2</li>
    <li>blah 3</li>
    <li>blah 4</li>
    <li>blah 5</li>
    <li>blah 6</li>
    </ul>

    Try that

  • #3
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    10,968
    Thanks
    0
    Thanked 236 Times in 233 Posts
    try creating bulleted text with desired look in Word then save as html file. You will see the html code.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Delaware, USA
    Posts
    138
    Thanks
    0
    Thanked 0 Times in 0 Posts
    another way is to put it in a table.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •