by Walter Metzger » Fri Mar 14, 2008 1:08 pm
Thank You MikeGale and Albert,
for Your answers, to get a better and right CSS for me.
(Excuse me please, when I write so much)
I have done in my styles.css on my local PC (only parts with fonts)
.all {
padding:0;
margin:0;
/* font:10pt verdana, arial, helvetica, sans-serif; */
/* font:13px verdana, arial, helvetica, sans-serif; */
/* font:0.8em verdana, arial, helvetica, sans-serif; */
font-family:verdana, arial, helvetica, "lucida handwriting", sans-serif;
font-size:0.8em;
background: url(bg_chamois_1.gif) #46617F no-repeat 200px 0px;
}
.menuefeld a {
text-decoration:none;
color:#ffffff;
margin:12px;
padding:2px 0 2px 0;
/* font:12pt verdana, arial, helvetica, sans-serif; */
/* font:16px verdana, arial, helvetica, sans-serif; */
font:1.3em verdana, arial, helvetica, sans-serif;
}
.menuefeld a.aktiv {
text-decoration:none;
color:#000000;
margin:12px;
padding:2px 0 2px 0;
/* font:12pt verdana, arial, helvetica, sans-serif; */
/* font:16px verdana, arial, helvetica, sans-serif; */
font:1.3em verdana, arial, helvetica, sans-serif;
}
.menuefeld a:hover {
text-decoration:none;
color:#000000;
margin:12px;
padding:2px 0 2px 0;
/* font:12pt verdana, arial, helvetica, sans-serif; */
/* font:16px verdana, arial, helvetica, sans-serif; */
font:1.3em verdana, arial, helvetica, sans-serif;
}
.stil1 {
/* font:20pt "lucida handwriting", sans-serif; */
/* font:24px "lucida handwriting", sans-serif; */
font:1.9em "lucida handwriting", sans-serif;
}
I tried first -pt-, than -px-, at last -em-
and I feel now content with the result of the type in my browsers.
.all is used in <body class="all">
I have seen, when I change -em- in .all, I change the result from all the following special fonts.
Now my 3 questions:
1.
When I had defined
font:0.8em verdana, arial, helvetica, sans-serif;
and changed 0.8em to another, there was also another result
for "lucida handwriting"
Is this wanted and right?
2.
As I use today two families for
1. font:1.3em verdana, arial, helvetica, sans-serif;
2. font:1.9em "lucida handwriting", sans-serif;
I defined both families in one line (.all):
font-family:verdana, arial, helvetica, "lucida handwriting", sans-serif;
and
font-size:0.8em;
Is this the right way? Or is it possible to get one central family-definition only for verdana etc, and the other for "lucida handwriting"?
3.
Is the value "117%" MikeGale wrote, an exampelvalue or an absolute tip?
Greetings
Walter