#1
  1. No Profile Picture
    Contributing User
    ASP Discoverer (100 - 499 posts)

    Join Date
    Dec 2005
    Posts
    261
    Rep Power
    13

    Image alignment question


    Hello

    I have a dropdown list which holds a text link and small icon (attached):



    How would I position those small icons to the right of the text (to the right of October 2014, etc)? At the moment, the code looks like this:

    Code:
    <li><span>+</span> Timetable
      <ul>
       <li><a href="#"><img src="images/Calendar1.png" width="32px" height="32px" style="padding-right:5px;">October 2014</a></li>
       <li><a href="#"><img src="images/Events.png" width="32px" height="32px" style="padding-right:5px;">August 2014</a></li>
       <li><a href="#"><img src="images/calendar4.png" width="32px" height="32px" style="padding-right:5px;">September 2014</a></li>
      </ul></li>
    Thanks for any advice!

    Steve
  2. #2
  3. Contributing User
    ASP Skiller (1500 - 1999 posts)

    Join Date
    Mar 2005
    Location
    Columbus, OH
    Posts
    1,665
    Rep Power
    284
    just
    Code:
    <span>+</span> Timetable
    <li>
      <ul>
           <li><a href="#">October 2014<img src="images/Calendar1.png" width="32px" height="32px" style="padding-right:5px;"></a></li>
           <li><a href="#">August 2014<img src="images/Events.png" width="32px" height="32px" style="padding-right:5px;"></a></li>
           <li><a href="#">September 2014<img src="images/calendar4.png" width="32px" height="32px" style="padding-right:5px;"></a></li>
      </ul>
      </li>
    GK
    __________________________________________________ _____
    if you found this post is useful click Give Rep button (bottom side on this reply ) and agree
  4. #3
  5. No Profile Picture
    Contributing User
    ASP Discoverer (100 - 499 posts)

    Join Date
    Dec 2005
    Posts
    261
    Rep Power
    13
    padding-right, of course, thank you!!!!!!!!!

Similar Threads

  1. Image question
    By KillGorack in forum ASP Development
    Replies: 1
    Last Post: January 31st, 2009, 06:03 AM
  2. Stupid CSS Text Alignment Question
    By cjreynolds in forum HTML, JavaScript And CSS Help
    Replies: 9
    Last Post: March 20th, 2006, 01:38 PM
  3. Question about image formats
    By DrewPeterson89 in forum .NET Development
    Replies: 5
    Last Post: June 29th, 2005, 03:43 PM
  4. Image Question
    By badprogrammer in forum ASP Development
    Replies: 6
    Last Post: February 22nd, 2005, 01:18 PM
  5. Image Question
    By Sherrie in forum Microsoft Access Help
    Replies: 6
    Last Post: April 2nd, 2004, 12:26 AM

IMN logo majestic logo threadwatch logo seochat tools logo