On 20 May 2006, at 5:21 pm, Marc Funaro wrote:

> Related question...
>
> Still working on my design at
> http://nyslittreedata.advantex.net/new/default/default.htm.  The list
> "headings" in the left navigation bar have a leaf next to them.  I  
> would
> like to more accurately position this leaf, and it sounds like  
> making it a
> background image is the way to do that.  However, the entire list is
> right-justified, so setting the position of the leaf to the left of  
> the text
> looks like it may not be possible, as one would have to know the exact
> length of each heading in order to place the leaf to the left of  
> it.  Is
> this correct -- am I limited to list-style: url("images/leaf.gif")  
> because
> the list is right-justified?

Hi Marc,

Is that url OK? I don't see any navigation bar (Safari, FF or IE/ 
Windows).

Regarding the question, provided that you have made your list item  
anchor tag display:block then you can specify a width, and right- 
range the text within that. The width you set takes care of the  
placement of the background image, so the width of the text doesn't  
matter. You have a lot of control over where you place the background  
image.


Ian.
-- 
Dr Ian M Piper
[EMAIL PROTECTED]
skype: ianmpiper
-- 
Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?


______________________________________________________________________
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