PDA

View Full Version : 12 px instead of 2 for small font



petermw
Fri 12th Jul '02, 2:32pm
Hey, wondering about the styles part of the cp:
"Small Font (customized)". I would like the small font
to be 11px but the entry space seems to only read
sizes (i.e. "1", "2" etc). How can I make the smallfont
11px? Just in general what is the relation between this
input area (Small Font (customized), Large Font (customized), Main font (customized)) and the CSS.

Thanks for any help.
Peter

SaintDog
Sat 13th Jul '02, 5:39am
style="font-size: 11px; font-family: yourfonthere;"

Replace size="" with the above.

- SaintDog

petermw
Sat 13th Jul '02, 11:45am
Thanks for the reply SaintDog. Not sure I follow you...
What I want to change is the Small Font. When i try to
input 11px in the size field in the Small Font (customized)
area it reads it as 11 and so everything becomes huge. How can I make Small Font = 11px....

petermw
Sat 13th Jul '02, 1:01pm
Ok, I think i figured it out for anyone who is interested. I didnt realize that the standard font tag doesnt recognize px. so youll have to specify a font class in the the appropriate field, and then specify that class in the CSS.

example: in the css:

.yourclass {
color: #yourcolor;
text-decoration: none;
font-size:howevermanypx;
font-family:yourfontfamily;
}

Apparentally some people use this to minimize the output html as well...