Tech: This webpage is built on an Asp.net Webforms application using a master page and an ajax accordion control. All elements for the page are contained within a designated placeholder.
The design of the webpage includes an ajax accordion with multiple AccordionPane elements, as shown in the image below: https://i.sstatic.net/IkJbS.png
Looking at the HTML code:
https://i.sstatic.net/W9MzL.png
Problem: There is a need to increase the space between specific elements, such as Section 6 and 7. Manually adding margin-top:20px via developer tools achieves the desired result, but I am unsure how to do this using html/jquery.
https://i.sstatic.net/kMFKH.png
https://i.sstatic.net/ZLy0Z.png
Attempts have been made using CSS and even adding attributes in the code behind, but the attribute fails to display. The issue seems to stem from all elements having the same ID "MainContent," which is the page content holder.
Here is the initial CSS responsible for the appearance:
https://i.sstatic.net/MHxSV.png
In the CSS, margin-top only affects the text margins within each section. Any suggestions on what steps to take next?