Lively discussions on the graphic arts and publishing — in print or on the web

Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-24-2006, 10:33 AM   #1
dthomsen8's Avatar
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default Font Sizes in <font> or CSS

Once again I am trying to convert old HTML code with <font> tags to CSS.

I am trying to get the code using CSS to look like the code using <font> tags in the browsers, especially IE6 and FF1.51. My current problem is with font sizes. I tried to compare font sizes 5 and 6 with equivalents in CSS using px values. The code below shows my test. The images below show that the result in MSIE6 (shown first) is different from Firefox 1.51 (shown second).

Identical code in Dreamweaver MX is shown by the two browsers.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Font sizes</title>

.caption {
font-size: 32px; font-family: Arial black;
color: black;
font-weight: normal;

.captable {
font-size: 24px; font-family: Georgia;
color: black;
font-weight: normal;



<p> <font color="#0000ff" face="Georgia" size="5">
Font Georgia, 5T</font>
<span class="captable">TCSS Georgia 32px</span>
<font color="#0000ff" face="Arial Black" size="6">
Font Arial black, 6T</font>
<span class="caption">TCSS Arial black 24px</span>
Attached Thumbnails
Click image for larger version

Name:	qmsie01.jpg
Views:	287
Size:	24.1 KB
ID:	406   Click image for larger version

Name:	qfire01.jpg
Views:	282
Size:	18.0 KB
ID:	407  
dthomsen8 is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Actual browser sizes (maybe) ktinkel Web Design 21 03-15-2007 12:57 PM
Font site, Flash movie, free font ktinkel Fonts & Typography 2 12-03-2006 01:17 PM
Larger Font/Smaller Font JavaScripts dthomsen8 Web Site Building & Maintenance 6 09-25-2006 03:51 AM
Font "activation" by font managers lindaniel Fonts & Typography 5 07-02-2005 11:39 AM
Font Management: Font Agent Pro michelen Fonts & Typography 13 03-25-2005 10:25 AM

All times are GMT -8. The time now is 09:54 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Contents copyright 2004–2019 Desktop Publishing Forum and its members.