OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] nobr tag


<nobr> is not an element in any HTML DTD except the Internet Explorer 3.0 DTD [1][2], as far as I know. 

To control rendering, you should preferably use CSS. You might as well then set up a rule that selects the element to be rendered 'without breaks', e.g. by matching on the value of the class attribute.

Try { white-space: nowrap } [3]. Expect problems with Internet Explorer 6 [4].

kind regards
Peter Ring


[1] http://www.w3.org/People/mimasa/HTML/DTD/ie30.dtd
[2] http://www.w3.org/People/mimasa/HTML/DTD/catalog
[3] http://www.w3.org/TR/REC-CSS2/text.html#propdef-white-space
[4] http://snook.ca/archives/html_and_css/problems_using/


-----Original Message-----
From: Huber  Evelyne [mailto:hubere@student.ethz.ch]
Sent: Sun 2007-01-14 12:48
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] nobr tag
 
hi everyone!
 
I'm looking for a tag in docbook that transforms to <nobr> in html or has a similar effect.
what would be the best way to do that?
 
cheers
Ev

---------------------------------------------------------------------
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]