[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RE: Small Caps Solution (a bit long)

Subject: Re: RE: Small Caps Solution (a bit long)
From: "Jay Bryant" <jay@xxxxxxxxxxxx>
Date: Thu, 2 Sep 2004 18:54:42 -0500
caps solution
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.