Would the existing CSS "@media handheld {}" 
(http://www.w3.org/TR/CSS2/media.html#media-types) be useful here? You could 
use it to make appropriate customizations to an existing stylesheet without 
having to completely define a new one.

Regards,
Paul Bort
Systems Engineer
TMW Systems, Inc.

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, July 10, 2012 3:10 AM
> To: [email protected]
> Subject: Re: [docbook-apps] Media attribute for docbook referenced css?
> 
> On 07/10/2012 07:20 AM, Niels wrote:
> > Hi everyone
> >
> > In this day and age where more users use small screens to read web
> > content, I have been looking for at possible media attribute to supply
> > to the output from the docbook stylesheets.
> >
> > It is possible to supply more css file references in <xsl:param
> > name="html.stylesheet">../../../globaLib/css/phone.css
> > ../../../globaLib/css/nmlDocbookUvmat.css
> > </xsl:param>
> >
> > and, as I understand you may supply one (1) <xsl:param
> > name="html.stylesheet.type">text/css</xsl:param>
> > which would then apply to all the css files, I suppose.
> >
> > I am looking for something like
> > <xsl:param name="html.stylesheet.media">only screen and (max-width:
> > 640px)</xsl:param> ie a media attribyte, which no-one has invented yet?
> >
> > Ideally you would need n sets of
> > <xsl:param name="html.stylesheet">...</xsl:param>
> > <xsl:param name="html.stylesheet.type">...</xsl:param>
> > <xsl:param name="html.stylesheet.media">...</xsl:param>
> > one set per stylesheet.
> >
> > Suitable for a change request?
> 
> I think it timely.
> No reason docbook shouldn't be widely used for the mobile platform.
> My main concern would be graphics? What happens to my 900px wide
> graphic?
> 
> DaveP
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to