473,378 Members | 1,658 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

helping fort grow for LANG tags.

Bonjour,

I am trying design the website in arabic font,
I am use the link template normal for character.
But I am looking the design making a font to go
one increase larger for when lang code is change
to arabic.

for this eample: when html this <html lang="ar">,
then <font-size: 10pxare change to 12px.

Is possible, someone help please?

merci,

GZ
May 2 '07 #1
1 961
On May 2, 12:16 pm, "Gizele" <g...@inet.frwrote:
Bonjour,

I am trying design the website in arabic font,
I am use the link template normal for character.
But I am looking the design making a font to go
one increase larger for when lang code is change
to arabic.

for this eample: when html this <html lang="ar">,
then <font-size: 10pxare change to 12px.
Don't set a particular general font size, let users decide what size
text should be - though it is OK to specify relative differences
(bigger or smaller) for things like headings, footers, etc. When you
do set font sizes, don't use px, use em or %. Don't use font
elements, use style sheets.

Use the same logic on your server that adds the lang attribute to also
add the matching style sheet. Client-side scripting is too unreliable
and since you seem to already have logic in place to add the ar
language, why not use it for this too?

Or, you can put all your lang options in the one stylesheet. You
might find this W3C link regarding "Styling using the lang attribute"
useful:

"What is the most appropriate way to associate CSS styles with text in
a particular language in a multilingual XHTML/HTML document?"
<URL: http://www.w3.org/International/questions/qa-css-lang >

You will likely get better help in a CSS or HTML news group:

news:comp.infosystems.www.authoring.html
<URL: http://groups.google.com.au/group/co...ng.html?lnk=li
>
news:comp.infosystems.www.authoring.stylesheets
<URL: http://groups.google.com.au/group/co...esheets?lnk=li
>

--
Rob

May 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Zhang Weiwu | last post by:
Hello. I am working with a php software project, in it (www.egroupware.org) Chinese simplified locate is "zh" while Traditional Chinese "tw". I wish to send correct language attribute in http...
6
by: Zip Code | last post by:
"The large print giveth, and the small print taketh away.", so said Tom Waites in his classic rap, "Step Right Up", a paean about come ons and rip offs. Now, we have all explored the fact that...
2
by: Stewart | last post by:
Originally posted in comp.lang.javascript: Newsgroups: comp.lang.javascript From: "Stewart" Date: 23 Aug 2005 02:50:04 -0700 Local: Tues, Aug 23 2005 10:50 am Subject: FireFox, RemoveChild,...
21
by: puzzlecracker | last post by:
Guys - Is it possible to find which way system stack grows? Perhaps, I am not precise enough: When a function is called, the return address of (callee) function is put on the stack. Thus, the...
4
by: jcnews | last post by:
Are there any VB.NET or similar computer user groups in Fort Lauderdale? I am new to the city and would like to meet other people who program. Thanks, Josh
24
by: John | last post by:
I know this is a very fundamental question. I am still quite confused if the program call stack stack should always grows upwards from the bottom, or the opposite, or doesn't matter?? That means...
0
by: U S Contractors Offering Service A Non-profit | last post by:
Brilliant technology helping those most in need Inbox Reply U S Contractors Offering Service A Non-profit show details 10:37 pm (1 hour ago) Brilliant technology helping those most in need ...
0
by: David_Parkes | last post by:
A global leader in the digital media space based in the Dallas/Fort Worth Metroplex – is currently re-architecting its core product line and is doing so on the back of Microsoft .NET 3.0/3.5 and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.