Here is my site: http://dkurf.esxsb.servertrust.com/ I need to create specific styling for this page: http://dkurf.esxsb.servertrust.com/ProductDetails.asp?ProductCode=dfhs I don't have access to the html for that page so i need to override the styles that are throughout the site only for that page.
This is the bit of javascript the company that hosts my ecommerce store provided (Volusion, p.s. don't ever use them they are a css nightmare!)
<script type="text/javascript">
//<![CDATA[
if (location.pathname == "/ProductDetails.asp" ||
location.pathname.indexOf("-p/") != -1 ||
location.pathname.indexOf("_p/") != -1)
document
.writeln("\n<style type='text/css'>.pricecolor{ background:#000; }</style>\n\n");
//]]>
</script>
But if any one has any suggestions, it would be super helpful!
Thanks!
document.write*whatever is generally a bad idea and should be considered deprecated. Use DOM methods instead.