Results 1 to 3 of 3

Thread: Quick Question Re: Accordion Content script (v1.9)

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Quick Question Re: Accordion Content script (v1.9)

    Hi using Accordion Content script (v1.9):
    http://www.dynamicdrive.com/dynamici...daccordion.htm

    I am having trouble with text wrapping around the images (the little blue arrows - see my example):
    http://drewclifton.com/clients/northern-computer/

    You can see that some of the titles are too long. The usual trick I had used was to add a bottom margin to the image, but I think because the js puts the image in there it doesn't seem to be working (really no knowledge of js here).

    Thanks any advice would be awesome. I would take any solution.

  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

    This worked out well in Firefox Developer Tools, adding this to your stylesheet:

    Code:
    .accordprefix img {
    	margin: 4px 5px 8px 0;
    	float: left;
    }
    I added it to the on page one (from that page's served source code):

    Code:
    <style type="text/css" media="all">
    	ul.dropdown li a { font-family:arial; } 
    	ul.dropdown li a { font-size:1em; }
    	ul.dropdown { white-space: nowrap;	}
    </style>
    But it probably could be added to any stylesheet for the page(s) using this script.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thank You :)

    Thanks John!

    As soon as I finish making my main navigation menu work in IE I will turn to this and report my results. I really appreciate you taking a look.

    All the best,

    Drew

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
  •