...

View Full Version : Font Size??



nikko50
09-28-2004, 07:37 PM
Is there a max font size in HTML pages??
Tracy

Roy Sinclair
09-28-2004, 07:55 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Testing</title>
<style type="text/css">
body { font-size: 5000pt; }
</style>
</head>
<body>
Test
</body>
</html>


This works in Firefox but doesn't when you increase the point size to 10000pt. IE fails to render this page so there apparently a browser limitation but the exact nature of that limitation may not be directly related to point size, it may instead be related to the size in pixels of the font.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum