Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevon K. Hayes 255 posts 281 karma points
    Jul 16, 2010 @ 20:28
    Kevon K. Hayes
    0

    CSS applied to ####.aspx but not the named url e.g. my-page.aspx

    Experts,

    I have a Template that contains a macros that dynamically changes the CSS and it works fine on the page that is displayed when clicking the "preview button" e.g. http://www.company.com/1234.aspx but when I go to properties and click the link of the page with the rewritten URL the style isn't applied.

  • Per Ploug 865 posts 3491 karma points MVP admin
    Jul 19, 2010 @ 12:01
    Per Ploug
    1

    is the CSS in the html? try reloading the css file in the browser, directly from its url, and then reload the page, I would say it's a browser caching issue

  • Kevon K. Hayes 255 posts 281 karma points
    Jul 25, 2010 @ 02:45
    Kevon K. Hayes
    0

    Thanks Per,

    Using Firebug I found that the CSS was actually being applied to the page.  The issue was: I was using a telerik control that referenced the css file using a relative path which worked just fine for pages that were childs of the Content Node but broke when I created a page that was a child of a child.  So to solve this issue I referenced the css w/the full path. 

     

  • Kevon K. Hayes 255 posts 281 karma points
    Jul 25, 2010 @ 03:08
    Kevon K. Hayes
    0

    I obviously have no way to close this, so Per... take it away.

Please Sign in or register to post replies

Write your reply to:

Draft