[thelist] How to make a page re-apply its stylesheets without reloading?

Hassan Schroeder hassan.schroeder at gmail.com
Mon May 21 12:44:41 CDT 2007


On 5/21/07, Barney Carroll <barney at textmatters.com> wrote:

> I know that on page reload this problem dissapears, but a reload every
> time the user visits this page is a bit too irresponsible. I'd rather
> have some kind of script that /re-applies/ the stylesheets on page
> ready, because ultimately all the necessary info is already client-side
> and contacting the server is superfluous.
>
> Any ideas how I could go about doing this?

In the absence of a test case, an untested suggestion :-) --

Seems like triggering a redraw of the relevant component(s) might
take care of this; how about just resizing the enclosing element one
pixel (height or width)?

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com



More information about the thelist mailing list