Results 1 to 3 of 3

Thread: Problem with DD drop down panel script

  1. #1
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Problem with DD drop down panel script

    1) Script Title: DD Drop Down Panel

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pdownpanel.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_E...t/centred3.htm

    Many thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Put this conditional stylesheet after your other stylesheets (last thing in the head):

    Code:
    <!--[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:

    Code:
    <!--[if IE]>
    If IE 8 is still giving problems, add the meta tag:

    Code:
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    right after your existing meta tag.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    malt (12-09-2008)

  4. #3
    Join Date
    Dec 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •