Results 1 to 7 of 7

Thread: Problem with anylink drop down menu

  1. #1
    Join Date
    Jul 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Problem with anylink drop down menu

    I'm having a problem with the following script

    Anylink drop down menu
    http://www.dynamicdrive.com/dynamici...pmenuindex.htm

    In IE6, the last link repeats itself below the original, displaying the background color of the menu and not of the link itself.

    It's fine in the other browsers.

    Any fixes?
    Last edited by dylanphelan; 11-21-2007 at 01:27 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,980
    Thanks
    43
    Thanked 3,196 Times in 3,158 Posts
    Blog Entries
    12

    Default

    On the demo page, or on your implementation?
    - John
    ________________________

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

  3. #3
    Join Date
    Jul 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    On Implementation.

    I haven't made any changes to the javascpript. I edited the css a bit - just changed the colors etc

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,980
    Thanks
    43
    Thanked 3,196 Times in 3,158 Posts
    Blog Entries
    12

    Default

    Well then, I guess we would need to see that:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  5. #5
    Join Date
    Jul 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sure,

    I've just uploaded it to another site of mine... Please excuse the way it looks - it's still a mess. I'm just trying to get the menu right for now...

    http://www.pbs-easybooks.com/msb/


    Thanks,
    Dylan

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,980
    Thanks
    43
    Thanked 3,196 Times in 3,158 Posts
    Blog Entries
    12

    Default

    The links in the drop downs are picking up style from your main stylesheet. I'm even guessing that you knew this because of the way you have the anylink links styled.

    Anyway, you haven't compensated for the float, and doing so will fix the problem:

    Code:
    .anylinkcss a{
    	float:none!important;
    	width: 100%!important;
    	display: block;
    	text-indent: 3px;
    	padding: 1px 0;
    	text-decoration: none;
    	font-weight: bold;
    	text-indent: 5px;
    	margin: 0px!important;
    	background-color: #FFFFFF!important;
    	background-image: none!important;
    	line-height: 18px!important;
    	height: 18px!important;
    	border-bottom-width: 1px;
    	border-bottom-style: solid;
    	border-bottom-color: #999999;
    	border-to . . .
    - John
    ________________________

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

  7. #7
    Join Date
    Jul 2007
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks.... Perfect!

    I haven't heard of float before - I'm still quite new to this.

    Dylan

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
  •