thai-language.comInternet resource
for the Thai language
Lookup:
» more options here
Browse

F.A.Q. Check out the list of frequently asked questions for a quick answer to your inquiry

e-mail the author
guestbook
site settings
site news
bulk lookup
Bangkok
Thanks for your

recent donations!

Narisa N. $+++!
John A. $+++!
Paul S. $100!
Mike A. $100!
Eric B. $100!
John Karl L. $100!
Don S. $100!
John S. $100!
Peter B. $100!
Ingo B $50
Peter d C $50
Hans G $50
Alan M. $50
Rod S. $50
Wolfgang W. $50
Bill O. $70
Ravinder S. $20
Chris S. $15
Jose D-C $20
Steven P. $20
Daniel W. $75
Rudolf M. $30
David R. $50
Judith W. $50
Roger C. $50
Steve D. $50
Sean F. $50
Paul G. B. $50
xsinventory $20
Nigel A. $15
Michael B. $20
Otto S. $20
Damien G. $12
Simon G. $5
Lindsay D. $25
David S. $25
Laurent L. $40
Peter van G. $10
Graham S. $10
Peter N. $30
James A. $10
Dmitry I. $10
Edward R. $50
Roderick S. $30
Mason S. $5
Henning E. $20
John F. $20
Daniel F. $10
Armand H. $20
Daniel S. $20
James McD. $20
Shane McC. $10
Roberto P. $50
Derrell P. $20
Trevor O. $30
Patrick H. $25
Rick @SS $15
Gene H. $10
Aye A. M. $33
S. Cummings $25
Will F. $20
Get e-mail

Sign-up to join our mail­ing list. You'll receive e­mail notification when this site is updated. Your privacy is guaran­teed; this list is not sold, shared, or used for any other purpose. Click here for more infor­mation.

To unsubscribe, click here.

Creating Thai webpages for Opera

Browser/website issues and working with Thai sound and video clips

Moderator: acloudmovingby

Re: Creating Thai webpages for Opera

Postby piper » Wed Nov 02, 2011 7:13 am

Does anyone have the same problem with Safari? If not the issue is bugs in Firefox. I clicked on the Browser Language Test and was not able to read the Thai characters on top. They all show up as question marks.
piper
 
Posts: 3
Joined: Tue Nov 01, 2011 6:48 am

Re: Creating Thai webpages for Opera

Postby PerfectTHAI » Fri Apr 26, 2013 8:58 am

The 100% guaranteed method for displaying Thai characters in ALL modern browsers is to use the "@font-face" function in CSS.

First you will need to download a font file and place it on your webserver.
Then add CSS like the following example:

@font-face
{
font-family: 'Garuda';

src:url('Garuda.eot');
src:url('Garuda.eot?#iefix') format('embedded-opentype'),
url('Garuda.ttf') format('truetype'),
url('Garuda.svg#Garuda') format('svg');

font-weight: normal;
font-style: normal;
}

This example will load the Garuda font file with extensions .eot (for IE4+), .ttf (for FF 3.5+, Chrome 4+, Opera 10+, Safari 3.1+) or .svg (for iPhone, iPad) depending on the browser.
Replace the src.url with the path to the file on the webserver.
Now for each "p" element on your website you want to display Thai text, just add the following CSS

p { font-family:Garuda; }

Free to use font packs can be downloaded from http://linux.thai.net/projects/thaifonts-scalable/ but only in ttf format.
PerfectTHAI
 
Posts: 16
Joined: Thu Apr 25, 2013 1:15 pm
Location: United Kingdom

Previous

Return to Browsers, Web Sites, Web Authoring, Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

Copyright © 2019 thai-language.com. Portions copyright © by original authors, rights reserved, used by permission; Portions 17 USC §107.