More in this section
Forums / Developing with Sitefinity / Ajax call and CSS priority

Ajax call and CSS priority

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
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