Solved

How do I keep the jQuery Accordion from touching the footer-especially IE7?

Posted on 2010-08-24
2
400 Views
Last Modified: 2013-12-08

Hi -
I have an accordion on this webpage...

You can see that the bottom of the accordion is very close to the footer.  
This is especially apparent in IE7 where the two are touching.
 
I want there to be about 100px main-content space between the bottom of the accordion and the top of the footer.  I don't want the footer to be taller.  I tried adding "margin-bottom" to the accordion container but that really confused IE7.

Thanks in advance for your help.
d2
0
Comment
Question by:dzash2000
2 Comments
 
LVL 9

Accepted Solution

by:
wellhole earned 250 total points
ID: 33511789
Try wrapping the accordion inside a div with a style that adds the margin.
0
 

Author Closing Comment

by:dzash2000
ID: 33511990
Actually margin didn't work but padding did. Thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question