[thelist] User Agent CSS Reload Command

Randy Pearson randyp at cycla.com
Fri Oct 31 12:35:26 CST 2003

> >> I often test dynamic web applications, and after making CSS
> >> changes, would like to ask the browser to re-render the page with
> >> the updated CSS, while not requiring it to refresh the page content
> >> from the server.

> > did you try this?
> > <link rel="stylesheet" type="text/css" href="style.css?" />

> If you're using PHP or similar language, you can get it to put a
> string of random numbers after the question mark which will make sure
> it always reloads the stylesheet.

Thanks, but I was looking for something that didn't even require a page
refresh--only a refresh of the CSS.

> If you're testing pages with Mozilla/Firebird you might also want to
> Google for the 'test styles' bookmarket.  This gives you a new window
> in which you can type CSS code that is used by the parent window as
> you type - very useful for testing!

This sounds good. I'll check it out. Thanks!

-- Randy

More information about the thelist mailing list