[css-d] hack for IE6

2007-09-10 Thread Daniel Petre

hello, i have the following :

#menu ul li[id]:after {
margin: 0 0 0 -5px;
padding: 0;
content: url(./images/menugroup-end.png);
}

which puts a nice background like on my #menu div.
however internet explorer 6 seems not to see it.
anyone has any idea or a workaround for IE ?

thanks.
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] hack for IE6

2007-09-10 Thread Richard Grevers
On 9/11/07, Daniel Petre [EMAIL PROTECTED] wrote:

 hello, i have the following :

 #menu ul li[id]:after {
 margin: 0 0 0 -5px;
 padding: 0;
 content: url(./images/menugroup-end.png);
 }

 which puts a nice background like on my #menu div.
 however internet explorer 6 seems not to see it.
 anyone has any idea or a workaround for IE ?

Internet Explorer simply does not support generated content. Nor does
it understant the attribute selector.
Since you are able to insert an id attribute on the relevant menu
items, can you also add a class and simply style that class (with a
background image)?


-- 
Richard Grevers, New Plymouth, New Zealand
Dramatic Design www.dramatic.co.nz
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/