Advertisement
Promo

Become a member of the ZDNet UK community

Jake Rayson

View blog's RSS Feed

Web design & FOSS

Front-end web technologies and Free Open Source Software.

Tuesday 19 August 2008, 10:29 AM

Get with the zooming program

Posted by Jake Rayson

Hands up who didn’t read the spec properly :*). Foolish, schoolbory error. I have been working on a job and the design spec says “Assume the text size is fixed [my emphasis] in pixels”. With my old accessibility hat on, and years of making web sites with text zoomable in IE6 (ie using the ems or keyword methods), I duly blanked that part of the spec out my mind. (I’ve also noticed that these articles are dated 2001 and 2003!! Have a look at the more recent [How to size text in CSS] article 3. Using font-size keywords can be useful if you ever include content and stylesheets from other sites, as you’ll avoid problems with Inherited Shrinkage if there is a clash of the stylesheets using the ems method.)

After struggling with curvey corner backgrounds for a few hours, I emailed my woes to the project manager. Assume the text size is fixed!!! he hollered, via email and set the font size in pixels!!. Double doh. This means that users of Internet Explorer 6 can’t increase the size of the text. Hey, this is only roughly 30% of the browser market. But in IE7 and Firefox 3, the default is to zoom the whole page. So any background curvey corners are zoomed as well. As IE6 fades slowly into obscurity, pixel perfect layouts are becoming the norm, and my oh my, are they ever so much easier to build.


Comments on this post

Jake Rayson

This member is ranked #5 in our top 100

  • Jake Rayson
  • Web / Multimedia Developer, North Kent
  • Member since: November 2006

Site Activity Rating 6

CoreTechs

Contacts' Latest Discussions

Number of Tracked Discussions: 2,341

J.A. Watson J.A. Watson

Microsoft Loses Patent Case Appeal

Thursday 24 December 2009, 3:37 PM

5 comments
J.A. Watson J.A. Watson

Microsoft Loses Patent Case Appeal

Thursday 24 December 2009, 6:47 AM

5 comments
ator1940 ator1940

AOL's Steve Case

Wednesday 23 December 2009, 12:31 PM

1 comment
ator1940 ator1940

Plurk holding Microsoft's feet to...

Tuesday 22 December 2009, 3:00 PM

3 comments

Contacts' Latest Blogs

Number of Contacts Blogs: 8

Avatar Adrian Bridgwater

Sun Shines On Cloud Security

Friday 18 December 2009, 12:55 PM

1 comment
Avatar David Meyer

Android passes 20,000 apps mark

Tuesday 15 December 2009, 5:05 PM

0 comments
Avatar Karen Friar

HP workers set dates for strikes

Thursday 3 December 2009, 7:57 PM

1 comment

Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters