I am assuming you are using an external stylesheet.  If the differences for
each class are small you could re-write your CSS file as a JSP and put some
conditional blocks in it, with JSTL.

If the differences are larger, you could use a conditional block in each of
yout JSPs, if there are a few of them, to select different static versions
of your external stylesheet, depending on locale.  Or you could combine the
two, where you have the target of your external stylesheet link be a JSP
which just determines the user's locale and executes a conditional block
that imports the correct static stylesheet and returns it inline in the
response.

Thomas Gideon
Sr. Software Developer
B2eMarkets

301.230.2236  Tel.
301.230.2248  Fax.
[EMAIL PROTECTED]
www.B2eMarkets.com



> -----Original Message-----
> From: Vernon Wu [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: I18n message tag and CSS
> 
> 
> I use the i18n message tag in my current project. I also use 
> CSS to control the consistent look of the site. I run into a 
> problem with text font, a font in one language usually 
> doesn't make a sense in another language. In the following 
> example, a font in English doesn't anything for Chinese.
> 
> <font  class="TableHeadingFont"><fmt:message key="location"/></font>
> 
> Does anyone have a solution?
> 
> Thanks,
> 
> Vernon
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to