Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Font Size??

  1. #1
    Regular Coder
    Join Date
    May 2004
    Posts
    391
    Thanks
    76
    Thanked 0 Times in 0 Posts

    Font Size??

    Is there a max font size in HTML pages??
    Tracy

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    <!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.
    Check out the Forum Search. It's the short path to getting great results from this forum.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •