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

Barney Carroll barney at textmatters.com
Mon May 21 10:29:00 CDT 2007


Thanks for the response, Steve. I tried that one, it didn't work.


Regards,
Barney


Stephen Rider wrote:
> 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