Log in

View Full Version : Dreamweaver 8 fonts



annies44
02-28-2006, 03:07 AM
Dreamweaver always wants to make a CSS style sheet when I choose fonts. Is there any way to stop that? In Dreamweaver 4, I just picked a number like 2 or 3 for the font size. Now in Dreamweaver 8 they want to know points or pixels. etc. Does anyone know what the Dreamweaver 4 font size was in, points, pixels or something else?

jscheuer1
02-28-2006, 02:53 PM
It might depend upon the font being used and/or the browser but, for Times New Roman in IE6:

<font size="4">Hi</font>
<span style="font-size:2.25ex;">Hi</span>

The above two look the same to me.

Just a bit more about font sizes - these can be adjusted by the user and will appear differently depending upon the user's available fonts. So, rather than trying to duplicate a specific size from one measuring system to another, just use whatever looks about right to you at the time. Also, it is usually best to use em's or ex's as the units (no less than 0.75ems or 1.5exs so that most folks will at least be able to see them), as these are relative in all browsers, not just some, giving the user the ability to make your font legible on their system if, by chance it is not.