"[mn]" <neut...@uni-weimar.de> schreef in bericht news:2a1p7vg9s1dksdefj...@4ax.com...Hi,
I wonder whether one can combine two different classes in CSS (merely
for IE6, btw).
I have something like this:
<style>
.time { behavior: url(#default#time2) }
.spans {
color: #fff;
font-family: Verdana, sans serif;
font-size: 13px;
position: absolute;
text-align: center;
left: 20px;
top: 210px;
width: 320px;
}
</style>
</head>
[...]
<body>
<span class="time" class="spans" begin="6" dur="3.5">Line 1</span>
<span class="time" class="spans" begin="0.5" dur="6">Line 2</span>
[...]
The span sample above does not work as expected, i.e. the first class
is read, the second not. Neither works the following
<span class="time,spans" begin="6" dur="3.5">Line 1</span>
or anything similar using + or ; as separators.
Although I'm not new to CSS, I do not know whether this is practicable
or not.
Does anyone know?
Greetings,
Michael
Use space as a seperator, that works for me.
<style>
.underline { text-decoration:underline }
.blue { color:blue}
</style>
<span class=underline>underline</span>
<span class=blue>blue</span>
<span class="underline blue">both</span>
Robert
>.
>
Certainly, reading the w3c spec is frustrating, because than you have to
track down if that functionality is present or properly implemented.