- From: Arve Bersvendsen <arveb@opera.com>
- Date: Mon, 12 Feb 2007 13:34:57 +0100
On Mon, 12 Feb 2007 12:58:49 +0100, Benjamin Hawkes-Lewis
<bhawkeslewis at googlemail.com> wrote:
>> XHTML5 also has a semantic class name "note" for this very purpose which
>> can be used on <aside>, <p> and <span>.
>
> What's the implied difference between <aside> and <aside class="note">?
> How might a UA treat them differently?
@media screen {
aside.note {
float: right;
}
}
@media projection {
aside {
float: right;
}
aside.note {
display: none;
}
}
(Not really assuming what the default presentation is, just outlining one
possible way - there's lots of different ones)
--
Arve Bersvendsen, Web Applications Developer
Opera Software ASA, http://www.opera.com/
Received on Monday, 12 February 2007 04:34:57 UTC