Click to See Complete Forum and Search --> : Font Size Problems - CRY FOR HELP!


gowans007
05-18-2004, 07:14 AM
I need some help I am having a knightmare with my fonts sizes using CSS.

I have made a 150 page web site and I have just changed all my font sizes from px in the css to %'s.

The problem is most of my pages now I think have got fonts 70% of 70% of 70% etc.. and end up tiny.

I was guessing that the class has been aplied more than once in to the text however I have searched and search and I can find out why it is doing this.

One moment its ok the next this i indent the text, create a new line or make it a link and it goes tiny.

My page has a lot of table on it and they are the same.

Can someone give me some advise or tips its driving me mad. Im using Dreamweaver MX 2004 and consider my self fairly comfortable in using it however this is taking my ages and I dont seem to be getting any further!

Thanks!

Robert Wellock
05-18-2004, 08:05 AM
Essentially the percentage needs a base value to reference.

gowans007
05-18-2004, 08:26 AM
Thanks Robert but can you tell me how to do that to correct my pages?

Robert Wellock
05-18-2004, 12:54 PM
html, body {font-size: 100%} would be a start but you have to remember there is the inheritance factor.

gazie
05-18-2004, 01:16 PM
Why use % anyways, why not em?