font sizes
Posted: 27 July 2008 02:13 PM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1659
Joined  06-01-2007

Im about to think that my sites fonts are too small for older people.
Now i need links, hints and maybe simple way to work-around this and put into sites CSS.

Im not so good at CSS after all so help is needed, thanks!
- Tuittu

 Signature 

Using EE Commercial 1.6.6 Build 20081114  | EE forum 2.1.1 Build 20081028 | EE MSM 1.1 Build: 20081024

Profile
 
 
Posted: 27 July 2008 08:16 PM   [ Ignore ]   [ # 1 ]  
Lab Technician
RankRankRankRank
Total Posts:  1018
Joined  03-25-2005

Starting is a rather lengthy article on relative font sizes by Maxdesign, one of the leaders in Web Standards.
Easiest is to check what you are using, body? and boost it up a bit.
Relative is best as long as it doesn’ break your site if fonts made larger by the user.
One can in those cases set fixed for most of the site and relative for the main text..

I have mine at 86%, a wee bit small, but as it is percentage most know how to resize it.

 Signature 

BKDesign Solutions - Learn XHTML and use   Web Standards to build accessible websites that validate

Profile
 
 
Posted: 27 July 2008 08:23 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1642
Joined  05-13-2004

On all sites I declare font size for the body like this

body {
    font
: 62.5% "Lucida Sans Unicode", "Lucida Grande", "Trebuchet MS", Tahoma, Verdana, sans-serif;
}


Then I set the font for each class that needs it in ems - 1em at this point will be roughly equal to 10pt font. Setting in ems allows users to change the font size using their browser which is good for accessability and will help you with the older people visiting your sites.

for example:

p{
font
-size: 1.4em;
}

will be equivalent to 14pt and easily adjustable by the end user.

 Signature 

CreateSean - My journey to pro web designer
currently improving my CSS, XHTML, JQuery & photoshop kung fu skills
I am the poster formally known as The Linguist.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64939 Total Logged-in Users: 55
Total Topics: 81911 Total Anonymous Users: 51
Total Replies: 440323 Total Guests: 303
Total Posts: 522234    
Members ( View Memberlist )