Nick Fitzsimons wrote:
On 3 Aug 2007, at 16:08:55, Rick Lecoat wrote:

When dealing with this the other year, I came up with this solution requiring an additional div, which happened to be there anyway:

body {
font-size: 125%; /* bump it up to 20px, assuming browser starts at 16px */
}

div#wrapper {
   font-size: 50%; /* and back down to 10px */
}

You could also save yourself the wrapper by doing the first declaration on the "html" element, and the second on the "body"

html { font-size: 125%; }
body { font-size: 50%; }

(Still falls foul of a minimum font-size set in the browser preferences, though.)

I wouldn't say it "falls foul". If a user has set a minimum size, then a page should heed that. It still *respects* minimum font-size settings.

P
--
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
______________________________________________________________
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
______________________________________________________________
Take it to the streets ... join the WaSP Street Team
http://streetteam.webstandards.org/
______________________________________________________________


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to