Try Now
More in this section

Forums / Developing with Sitefinity / Ajax call and CSS priority

Ajax call and CSS priority

1 posts, 0 answered
  1. David
    David avatar
    114 posts
    19 Jul 2012
    22 May 2015
    Link to this post

    I've noticed that if I use an Ajax call on my page that it messes up my CSS.  I'm using an Ajax call to resize the radrotator to match the window size.  When I do this it seems that the resources.axd re-loads some CSS which then overwrites my margin CSS entries.  I can get around this by changing my layout.css to put !important next to the margin rules, but not sure this is the best way of dealing with this?


1 posts, 0 answered