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 5 of 5
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,457
    Thanks
    15
    Thanked 0 Times in 0 Posts

    li indenting second line

    how can i set a style for my ul or ol so that teh second line is under the first and not under the first bullet or number for long list items?

  • #2
    Regular Coder
    Join Date
    Aug 2006
    Posts
    135
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not sure what you mean. Maybe list-style-position: inside?

  • #3
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    I think you mean list item, because the li is the bit that the text is put in. And in FF and IE7 at least, on li text that takes more than one line the second line is displayed flush with the first line, and does not go back to being positioned underneath the bullet point?

    Do you have an example that you can show us?
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #4
    Regular Coder
    Join Date
    Jun 2007
    Posts
    145
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Do you mean like :

    http://www.new.3genergi.co.uk/index....e=webpage&id=8
    Username:newsite
    Password:123newsite

    If yes use padding on the css li element.
    Visit http://www.UpsetPC.com for all your computer support needs!

  • #5
    Senior Coder
    Join Date
    May 2004
    Posts
    1,457
    Thanks
    15
    Thanked 0 Times in 0 Posts
    i think this is what i wanted

    teh only issue is then the numbers and bullets move out of the margin


  •  

    Posting Permissions

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