i am trying to change the style of my css class in edit mode but nothing happens here is my code
<Publishing:EditModePanel runat="server" id="editmodestyles"> <script type="text/javascript">$(.center).css('height', '300px');</script> <SharePoint:CssRegistration ID="CssRegistration1" name="<% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/editmode15.css %>" After="<% $SPUrl:~sitecollection/Style Library/~language/Themable/Core Styles/pagelayouts15.css %>" runat="server"> </SharePoint:CssRegistration> </Publishing:EditModePanel>
document ready? Anyway, why use JS when you could just add CSS?