TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

style problem

Page: 1 Reply
Jul 27th 2003#115346 Report
Member since: Jun 14th 2002
Posts: 60
i want the "regular text" of my page to have 8pt in size and to have color #696969..i've tried to put the following:
[code]body
{
color:#696969;font-family:Verdana; font-size:8pt;
}
[/code]
for the color and font it works just fine but to the font size it doesnt..what am i doing wrong?
Reply with Quote Reply
Jul 27th 2003#115352 Report
Member since: Mar 18th 2001
Posts: 6632
Try setting it in pixels or ems, rather than points. Points are good for print stylesheets, but not for screen stylesheets at all.

Also specify more than Verdana.

Do something like this instead:

font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
Reply with Quote Reply
Jul 28th 2003#115388 Report
Member since: Jun 14th 2002
Posts: 60
i never quite understood why ppl put several fonts? whats the advatage? i get an hibrid or it will try to put the first then if the user doesnt have try the second etc?
Reply with Quote Reply
Jul 28th 2003#115391 Report
Member since: Apr 20th 2002
Posts: 3000
Reply with Quote Reply
Jul 28th 2003#115396 Report
Member since: Mar 18th 2001
Posts: 6632
Yes, it's so if someone doesn't have Verdana, it will use the next in the list, all the way down to the system's default serif or sans-serif font, whatever that may be. This gives you the most control of your type across platforms.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum