padding-left for the 2nd image only

Hello

http://jsfiddle.net/surework/hj6ct/1/

I would like to padding-left for image2.gif only. How do I do it in the CSS?
surework1Asked:
Who is Participating?
 
Chris StanyonCommented:
Add a class and use that for styling.

<div class="test1">
<ul>
  <li class="test2">Nav item 1</li>
  <li class="test2">Nav item 2 <img src="image1.gif" /><img class="last" src="image2.gif" /></li>
</ul>
</div>


img.last { padding-left: 100px; }

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.