Off the top of my head --

Assuming:
1. There are other lists on your page.
[we'll identify the list you want postioned elements in]

2. You want your images positioned relative to your links.
[we apply position:relative; to your image's parent element]
 
3. You want your images positioned in the same way for each link in your
list.
[we can use the list hook to apply the styles]

.listastic a {position:relative;}
.listastic img {position:absolute; left:5px; top:5px; border:none;}

<ul class="listastic">
    <li><a href=""><img src="">I'm a link, mate!</a></li>
    <li><a href=""><img src="">I'm a link, mate!</a></li>
    <li><a href=""><img src="">I'm a link, mate!</a></li>
</ul>

Shawn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of William Lawrence
Sent: Tuesday, May 23, 2006 3:42 PM
To: [email protected]
Subject: [css-d] which one do i position?

good morning list!

i want to position:absolute an <img> that's inside an <a> that's  
inside a <li> that's inside a <ul> that's inside a . . . here is the  
markup:

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to