RE: [WSG] : Problem with attribute "BORDER" in movint to strict mode is solved

2006-01-05 Thread Terrence Wood
Jes Bigum said:
> li a#current {
> background: url(path/to/image.gif) no-repeat 0 50%;
> padding-left: img-width; /* add value in px */ }

I thought your question was about indicating the current item. If you are
after a hover effect try:

li a {
padding-left: img-width;
}

li a:hover {
background: url(path/to/image.gif) no-repeat 0 50%;
}

kind regards
Terrence Wood.


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



RE: [WSG] : Problem with attribute "BORDER" in movint to strict mode is solved

2006-01-05 Thread Jes Bigum
Thank you all Terrence, Nic and Kvnmcwebn

I got it working. With

li img{border:0px;}

(I´m completly self-trained and have pretty nice gaps in my knowledge.)

I liked -

li a#current {
background: url(path/to/image.gif) no-repeat 0 50%;
padding-left: img-width; /* add value in px */ }
 
- very much but it seems that it chooses the top line of the list as current
all the time?  I´ll fiddel around with it. 

THANKS very much. Going strict...

Jes. 



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**