Prev: How to force text re-render after padding change from javascriptin Chrome?
Next: best way to implement draggable looping carousel (kinda likeGoogle Maps)
From: Jeremy J Starcher on 13 Aug 2010 11:33 On Fri, 13 Aug 2010 16:01:29 +0200, me wrote: > "Denis McMahon" <denis.m.f.mcmahon(a)googlemail.com> wrote in message > news:4c652997$0$8723$bed64819(a)gradwell.net... >> On 13/08/10 01:17, me wrote: >>> Is there a better way to force Chrome to re-render the content of the >>> DIV ? >> >> Yes. >> Don't make changes that force the page to re-render. It's incredibly >> annoying as a web site user to have content on a page jump around while >> I'm looking at. >> Rgds >> Denis McMahon > > Well, I'm trying to add buttons to my page that will let the user set > the font size and text width they find most comfortable to read. I don't > think anyone will find the effect "incredibly annoying". In fact I'm > hoping it will improve the user experience. This is recreating functionality that *already exists* in most modern browsers. Leave the font at the default size or larger. Never make a font smaller than the user's preference. It has been my experience that any document that needs text resizing options is a poorly laid out document. |