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 3 of 3

Thread: ul li . . .

  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Posts
    313
    Thanks
    18
    Thanked 2 Times in 2 Posts

    ul li . . .

    I have an unordered list that contains five items, I would like to include some specific code such as that below for each item in the ul, but I would like each li to be unique.

    <li>
    <a href="#" title="Sunrise on the farm">
    <img src="img01.jpg" width="200" height="206" alt="Beautiful sunrise" />
    </a>
    </li>

    Any suggestions?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,486
    Thanks
    6
    Thanked 981 Times in 954 Posts
    Assign an ID to each list item?

  • Users who have thanked VIPStephan for this post:

    michael180 (08-01-2011)

  • #3
    Regular Coder
    Join Date
    Apr 2005
    Posts
    313
    Thanks
    18
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by VIPStephan View Post
    Assign an ID to each list item?
    That'll work, I should have thought a little before I asked.

    Thank you . . .


  •  

    Posting Permissions

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