Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Textarea font-family not working in ff3, working in ie

176 views
Skip to first unread message

V S Rawat

unread,
Jun 18, 2009, 2:36:11 AM6/18/09
to
I have put a textbox in my page to show the text in a particular font
and size:

<TEXTAREA id=legacy_text name=TextToConvert rows=8 cols=80
style="font-family:Kruti Dev 010; font-size:18px;"></TEXTAREA>

It is changing the font size to this one compared to the previous one
(when this style was not there).

However it is not showing the text in the textarea in that font.

The same page is working flawlessly in ie6 showing the text in the
textarea in that given font. that means that font name is correctly
spelled and the font is installed on my xpsp3.

What gives?
--
Rawat

C A Upsdell

unread,
Jun 18, 2009, 8:52:52 AM6/18/09
to

The font name has spaces in it, so you should put quotes around the
name, e.g. style="font-family:'Kruti Dev 010';".

You should also specify an alternative font, or several alternative
fonts, including a CSS generic font, in case your font is not installed.

V S Rawat

unread,
Jun 21, 2009, 1:22:30 AM6/21/09
to

Yupp. That worked. Thanks a gig. :-)

other font family would not be of any use in this particular case
because it is a particular proprietary font mapping ascii range to show
Hindi language's characters, so it would appear junk in any other
language. if this font is not installed, it should take arial verdana or
whatever default english font is there and show junk.

Thanks again.
--
Rawat

0 new messages