PDA

View Full Version : Font Sizing CSS



GrahamB
19-08-2002, 09:33 PM
I have a problem with text entered into buttons on a web site. When viewed on an 800 x 600 screen the buttons, which are percentage width, become too small for the text. I realise I can make the buttons a set pixel size, but I would rather, if it is possible, reduce the text size when the screen is set at 800 x 600.

Is there any way this can be set up as an instruction?

TFYH

Graham Bockett

Mike
20-08-2002, 12:00 AM
You could try setting your fonts as a percentage as well, then they should reduce at the same rate as the buttons. However I have no idea whether this would work or not :) as I've never tried it.

You could set up some kind of script to load a different CSS setting for the lower resolution, but this is probably more hassle than it's worth.

Mike.

GrahamB
20-08-2002, 10:59 AM
Thanks for the thought Mike, I'll play around with it.

Regards
Graham Bockett