SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Oct 2006
    Posts
    216
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    noob: ul, il tags creates bullet

    I want to create list of things in my page one after another. But I don't want bullet point to appear in the brower. I have the following:

    PHP Code:
    <ul>
      <
    li>Coffee</li>
      <
    li>Tea</li>
      <
    li>Milk</li>
    </
    ul
    This is what I get.
    * Coffee
    * Tea
    * Milk
    But I don't want the bullet. How can I do this?

  2. #2

  3. #3
    SitePoint Enthusiast shredder-man's Avatar
    Join Date
    Sep 2007
    Posts
    76
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try: <ul style="list-style: none;">

  4. #4
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code CSS:
    ul li {
      list-style-type:none;
      margin-left:0;
      padding-left:0;
    }
    Birnam wood is come to Dunsinane


Bookmarks

Posting Permissions

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