Font size

Need technical advice on coding your web pages? Covers HTML, JavaScript, CSS, and some server side technologies. Also the issue of some webpages not displayed well.

Moderator: Don_HH2K

Font size

Postby webniche » Sun 08 May, 2005 2:58 pm

How can I obtain a smaller font size in dreamweaver than 8
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
webniche
new member
new member
 
Posts: 1
Joined: Sun 08 May, 2005 2:50 pm

Postby Antony » Sun 08 May, 2005 3:20 pm

I don't think you can display smaller font size in Dreamweaver. However, you can specify those. (some browsers have minimum font size setting, any font size below such specification will be ignored.)

Note: in Dreamweaver, a number of settings are ignored in the design layout, such as [tt]<small>[/tt], [tt]<big>[/tt] tags.
UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/412 (KHTML, like Gecko) Safari/412
User avatar
Antony
diamond member
diamond member
 
Posts: 14509
Joined: Tue 18 Jun, 2002 11:36 pm
Location: Sydney, Australia

Re: Font size

Postby Don_HH2K » Sun 08 May, 2005 3:39 pm

webniche wrote:How can I obtain a smaller font size in dreamweaver than 8

I'm not familiar with Dreamweaver, but you can change the font size at the code level.

The HTML tag sequence <font size="size"> can be changed. Change this to whatever size you want, 7pt or smaller in your case. You can also use emphasis levels such as 1.5em and the default font size settings such as +1.

If you are using the HTML 4.01 Strict DOCTYPE, or are using CSS snippets in your document, it will be embedded in a tag with the STYLE attribute. So, you'd have something like this: <span style="font-size: size">. Change the value of size to whatever size you want, 7pt or smaller in your case. You can also use emphasis levels such as 1.5em and the default font size settings such as +1.

If you are using HTML with a CSS stylesheet, just find the element, class, or ID in the stylesheet, and change the font-size attribute approproately (as described above).

You may also want to note that the <h6> tag (I think) at 100% zoom on most browsers is smaller than 8pt.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Donzilla/0.7PR1.5 (wml/1.3)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm


Return to Web Design and Page Coding

Who is online

Registered users: Google [Bot]