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 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2007
    Posts
    59
    Thanks
    7
    Thanked 0 Times in 0 Posts

    CSS Bulleted List Looks Crazy

    I thought that I coded the bulleted list correctly in my CSS style sheet, but when I tried to use it, the page looks like this:
    http://www.foodprotect.org/Managerce...nagercert.html

    Any ideas?

    Thanks everybody.

  • #2
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    Code:
    ul#nav, ul {                                 main.css (line 270)
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    width:150px;
    }
    This rulle applies to all ul's on the page.

    Try this code:

    Code:
    .stylemainbodytext ul {                             body.css (line 63)
    list-style-type:disc;
    margin-left:20px;
    padding-left:0px;
    width:90%;
    }
    Looks okay to me, but adjust the width to suit.

  • Users who have thanked jlhaslip for this post:

    t-buck (10-11-2007)


  •  

    Posting Permissions

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