Thank you for your response, Jukka (you too Highpowered!) Both of them
were very helpful. Given that I'm required to support IE 6 (shudder)
among other browsers, it seems the attribute selector method is not
the way to go (I need to remember to test on IE 6 more often -- time
to change some of my e
Josh Ghiloni wrote:
> I have a bit of code that, for example, looks like this:
>
>
> div { color: blue }
> div[dir="rtl"] { color: red }
>
First of all, I'd like to say that most "questions about style
inheritance" aren't. In you example, there is no way in which any div
element could inherit
Josh Ghiloni wrote:
> Hi All.
>
> I have a bit of code that, for example, looks like this:
>
>
> div { color: blue }
> div[dir="rtl"] { color: red }
>
>
>
> hi!
> bye!
>
>
> As I somewhat expected, the outer (hi!) text rendered red, whereas the
> inner child is rendering blue. Is there a wa
Hi All.
I have a bit of code that, for example, looks like this:
div { color: blue }
div[dir="rtl"] { color: red }
hi!
bye!
As I somewhat expected, the outer (hi!) text rendered red, whereas the
inner child is rendering blue. Is there a way I can define my styles
such that div[dir="rtl"] an