I did this it worked fine
  #col2 ul {
list-style-image: url('images/menu.gif')
}
  thanks everyone

trevor bayliss <[EMAIL PROTECTED]> wrote:
  Thanks for all the comments. I am trying to implement the general 
consensus:"You could change your div to a ul and wrap your items in li tags 
(DONE); then you can set the background of the the li tag to the image you want 
and position it appropriately (PROBLEM)." 
I tried with a background image on the li and the ul but to no avail as it 
doesn´t show the image- how can i make it work? Thank you for any advice 

I am 
#col2 {
CLEAR: right; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; 
PADDING-BOTTOM: 13px; PADDING-TOP: 0px; WIDTH: 180px
}
#col2 ul {
background-image:url(images/menu.gif) no-repeat left top; 
background-position:left
}
#col2 li {
background-image:url(images/menu.gif) no-repeat left top; 
background-position:left
}

  
  
  
   Barclays Bank
  
   Collins
  
   Paracelus






James Gadrow wrote:
Ross Hulford wrote:
> Yep. That;s the way I approach it. Much neater.
>
> R.
> ----- Original Message ----- 
> From: "Brian Crescimanno" 

> To: 
> Sent: Tuesday, May 29, 2007 2:13 PM
> Subject: Re: [css-d] "Divitis?"
>
>
> 
>> Out of curiosity, why not use an unordered list--it would seem more
>> semantically correct in this situation.
>>
>> You could change your div to a ul and wrap your items in li tags; then
>> you can set the background of the the li tag to the image you want and
>> position it appropriately.
>>
>> Brian
>> ______________________________________________________________________
>> css-discuss [EMAIL PROTECTED]
>> http://www.css-discuss.org/mailman/listinfo/css-d
>> IE7 information -- 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/
>>
>> 
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- 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/
>
> 
Yup, if you ever say the words "I have a list of..." then you should 
probably be using a list :)
Except, of course, if each list element has several sub-elements to it, 
then you're probably a good candidate for a DATA table.

-- 
Thanks,

Jim

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/



---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta. 
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/


       
---------------------------------
You snooze, you lose. Get messages ASAP with AutoCheck
 in the all-new Yahoo! Mail Beta. 
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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