Jump to content

Client Swapping of external CSS


MarkAbrams
 Share

Recommended Posts

Hi All,I am experimenting with client sided swapping of linked CSS files to achieve a user customisable display by activating and deactivating external stylesheets with JS. My problem is that the page works fine in FireFox and Opra. However, IE, loads the first display correctly but will not change the background color past the closing of a body tag.Short pages have the selected color and the default background color after the last HTML tag when the style sheet is changed by the script. This is a problem in IE only and selecting a page refresh will correct this. Opra, and FireFox do not require the refresh to display properly.Other than forcing a refresh as a work around does anyone have any comments?TIA.Mark

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...