W3C home > Mailing lists > Public > www-di@w3.org > October 2006

DISelect and the media attribute

From: Josť Manuel Cantera Fonseca <jmcf@tid.es>
Date: Fri, 20 Oct 2006 09:06:40 +0200
To: "www-di@w3.org" <www-di@w3.org>
Message-id: <45387580.8000701@tid.es>

Hi,

Is this is allowed?

<style type="text/css" src="mystyle.css" media="DISelect expression 1" />
<style type="text/css" src="mystyle2.css" media="DISelect expression 2" />
<style type="text/css" src="mystyle4.css" media="DISelect expression 4" />

Or is it a better practice to put:

<sel:select>
  <sel:when expr="">
	<style type="text/css" src="mystyle.css" />
  </sel:when>
  <sel:when expr="">
	<style type="text/css" src="mystyle2.css" />
  </sel:when>
  <sel:otherwise>
    <style type="text/css" src="mystyle4.css" />
  </sel:otherwise>
</sel:select>  

?

Thanks for your responses
Received on Friday, 20 October 2006 07:05:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 October 2006 07:05:44 GMT