Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] RE: Small Caps Solution (a bit long)

From: "Jay Bryant" <jay@------------>
To:
Date: 9/2/2004 11:57:00 PM
hi,
if i understand the problem right, there is a much simpler and shorter
solution without even bothering XSL just with plain CSS which you are using
anyway:

<h1 style="font-variant: small-caps;">A String to Render in Small Caps</h1>

(better to put it in a CSS-class of course...)
This might not be working in every browser, but at least covers a reasonble
amount of them (Moz, IE, Opera, Safari etc).

is that what you were looking for?

cheers
chris
-----------------------------------
Hi, chris,

The trouble is that the font has to have an actual small-caps variant built
into it for that technique to work. As it happens, very few fonts do have a
small-caps variant, which leaves the decision of how to render the string to
the browser. I have read that, with most fonts, most browsers either ignore
the setting or render the string as all caps. I wanted neither of those
results.

So, no, that's not what I sought, but thank you for suggesting it.

Jay Bryant
Bryant Communication Services


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent