View Full Version : Weird fonts size


ofi
03-22-2005, 10:23 AM
Hi
See my site here http://www.koddinn.com see what fonts are big

and see this http://www.koddinn.com/post.php thats the fonts size i want to use, i am not sure what i am doing wrong here, i use same index file as post.php, why is fonts not the same.

this is css i use
body { font-family: Tahoma;
text-align: center;
margin: 0px auto;
padding: 10px;
border: solid #c0c0c0 1px; }
#navigation { border-bottom: solid #c0c0c0 1px;
padding: 10px; }
#statusbar { border-bottom: solid #c0c0c0 1px;
padding: 10px; }
#img_area { text-align: center;
margin-top: 10px; }
#footer { border-top: solid #c0c0c0 1px;
padding: 10px;
text-align: center; }
#footer p { font-size: 12px;
color: #555555;
font-weight: normal; }
img { border: 0px; }
p { font-size: 12px;
color: #777777;
font-weight: normal; }
a { font-weight: normal;
color: #999999;
text-decoration: none; }
a:link {
color: #5B5D5F;
border-color: #B1C9D0;
text-decoration: none;
}
a:visited {
color: #5B7E96;
text-decoration: none;
border-color: #B1C9D0;
}
a:hover {
color: 315676;
border-color: #B1C9D0;
text-decoration: none;
}
a:active {
color: 5B7E96;
text-decoration: none;
border-color: #B1C9D0;
}

lefty
03-22-2005, 03:40 PM
I assume you mean in the navigation....
Since the text in a table, you need to define font size for a cell as well. So add something like this to your stylesheet:

td {
font-size:12px; }

Other cell attributes can go in there as well.

ofi
03-22-2005, 07:00 PM
thank you, worked fine

lefty
03-22-2005, 08:09 PM
You're welcome, glad it works :)