CSS not working in AJAX Load

vbtrac

New Member
Basically, I have an AJAX load function that loads content from a content.html file into a content div.Every page of my site takes the information from the same content.html file.The CSS classes are linked to this content.html file via it's own content.css file.Website: www.crookedcartoon.co.ukFor my first page (Print.html), all the content that gets loaded into it from the content.html file and has all the CSS intact, and works perfectly.When i get to my second page (Design.html), the css doesn't work. When opening the content.html file locally, the css is completely fine on everything, it just stops working once the AJAX loads it into the div but only on that second page.Can anyone help? This is driving me mad, i can't seem to find why it's not working, i've even tried moving all the content for this second page onto a new content2.html file and loading it from that, but still the problems sticks.Thanks in advance.
 
Back
Top