www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] how to make this <li> a block and all clickable

  1. #1
    Join Date
    Aug 2011
    Posts
    42

    resolved [RESOLVED] how to make this <li> a block and all clickable

    So I want the image to the left and the text to the right and the whole LI to be a clickable link..
    thank you

    HTML Code:
    <li class="wpsc_category_11">
    <a href="#" class="wpsc_category_image_link"><img src='cereal.png' /></a>
    <a href="#">Cereal dispensers</a>
    </li>

  2. #2
    Join Date
    Apr 2012
    Location
    Denver, Colorado, USA
    Posts
    22

    Smile

    Just follow this code

    <a href="#">
    <li class="wpsc_category_11">
    <span class="wpsc_category_image_link"><img src='cereal.png' /></span>
    <span>Cereal dispensers</span>
    </li>
    </a>

    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles