Forum Moderators: not2easy

Message Too Old, No Replies

Base Font Size Problem (nightmare!)

How to specify a default text size

         

bearduk

8:22 am on Sep 24, 2009 (gmt 0)

10+ Year Member



Hi all,

I need a way to style all untagged text to a certain size. I believe this used to be done with "basefont" however the pages need to be xhtml 1.0 standard.

Does anyone know how to specify the size of all text that has not been tagged with html? At the moment, all text that doesn't have a <p> tag around it is displaying very small.

If I add a 'html {text-size=12px;}' then it appears to add the pixels to all text, and not simply specify it as 12px. Is there a way to specify only the untagged text?

By the way, the reason we have untagged code is because we have had a team of temporary staff migrate pages, and unfortunately, not all of them were technically trained.

We need a work around for the text size until we get a chance to go in and tag all the content properly

Any help greatly appreciated

swa66

9:33 am on Sep 24, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



'html {text-size=12px;}'

try

html {
font-size: 12px;
}

instead.
Also look at how your other fonts are sized. It they are relative, they might increase in size too.