[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Media attribute for docbook referenced css?
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: davep@dpawson.co.uk [mailto:davep@dpawson.co.uk] > Sent: Tuesday, July 10, 2012 3:10 AM > To: docbook-apps@lists.oasis-open.org > 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: docbook-apps-unsubscribe@lists.oasis-open.org > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]