PDA

View Full Version : Problem with DD drop down panel script



malt
12-09-2008, 05:22 PM
1) Script Title: DD Drop Down Panel

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dddropdownpanel.htm

3) Describe problem: Hi - I absolutely love the DD Drop Down Panel - however, having installed it, I have found that it is not only pushing the webpage content down but in ie7 it is pushing the content to the left as well. Any suggestions to help me keep my content centred as I intended?

Here is my test page for you to understand what I mean:

http://www.bodmin.gov.uk/Tests/DDD_Experiment/centred3.htm

Many thanks

jscheuer1
12-09-2008, 06:11 PM
Put this conditional stylesheet after your other stylesheets (last thing in the head):


<!--[if lte IE 7]>
<style type="text/css">
#maincontainer{
clear: right;
position: relative;
}

.ddpaneltab {
position: relative;
margin-bottom: -1.83em;
z-index: 1;
}
</style>
<![endif]-->

This is good for IE 6 and 7 but I don't have a clue about IE 8 (I refuse to test in it until its official release). IE 8 is supposed to be more compliant, so it is right to exclude it as I have done. If you notice problems in that browser, change the opening conditional to simply:


<!--[if IE]>

If IE 8 is still giving problems, add the meta tag:


<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

right after your existing meta tag.

malt
12-09-2008, 06:22 PM
Hi jscheuer1

I am very grateful for your response - I will try out your solution first thing in the morning - have got baby son to look after now and no code solution can help with him when he wants a feed.

I think you guys are great - I am very indebted to you and well done for keeping us lesser mortals going!

Best wishes

Malt