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

Stephen Rider evolt_org at striderweb.com
Mon May 21 10:02:04 CDT 2007


Some straightforward DOM scripting (with JavaScript) might do the  
trick.  Do an onload that applies a style attribute to the div tag in  
question.

Stephen Rider



On May 21, 2007, at 4:12 AM, Barney Carroll wrote:

> Normally the trick relies on the column being a div with very large
> bottom padding, and equally large negative bottom margin, and its  
> parent
> having overflow set to hidden.

> 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.




More information about the thelist mailing list