You are here: Re: How Can I Controll Text Size on My Website? « HTML « IT news, forums, messages
Re: How Can I Controll Text Size on My Website?

Posted by Jonathan N. Little on 04/19/07 17:00

Ben C wrote:
> On 2007-04-19, Toby A Inkster <usenet200703@tobyinkster.co.uk> wrote:
>> Ben C wrote:
>>
>>> If you must have the last word, I suppose you could render your text to
>>> an image and use that.
>> Such font sizes are still variable. The font will appear larger on my 17"
>> desktop screen than it would on my 12" laptop screen.
>
> In centimetres, yes, but not in pixels?

Ah no, both are dependent on physical monitor size and current resolution...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">

<title>Dims</title>

<style type="text/css">
div { margin: 1em; color: white; background-color: black; }
div.cm { width:5cm; height:5cm; }
div.in { width:2in; height:2in; }
div.px { width: 200px; height:220px; }
</style>
</head>
<body>
<div class="cm">5 cm sq</div>
<div class="in">2 in sq</div>
<div class="in">200 px sq</div>
</body>
</html>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация