PDA

View Full Version : Quick Question Re: Accordion Content script (v1.9)



drewdavid
04-07-2011, 04:42 AM
Hi using Accordion Content script (v1.9):
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.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.

jscheuer1
04-07-2011, 03:11 PM
This worked out well in Firefox Developer Tools, adding this to your stylesheet:


.accordprefix img {
margin: 4px 5px 8px 0;
float: left;
}

I added it to the on page one (from that page's served source 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.

drewdavid
04-07-2011, 04:33 PM
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