PDA

View Full Version : Simple Tree Menu: folder image doesn't align



spiff
11-08-2006, 08:14 AM
1) Script Title: Simple Tree Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/navigate1.htm

3) Describe problem:

Hello,

I've used padding-top and padding-bottom to give my menu more space between the folders. Unfortunately, the folder image (open and close) aligns itself to the top and not with the text. The list image (list) aligns properly though. How can I fix the problem of the folder image aligning in line with the text?

A sample of the problem is shown here.
http://docspiff.tripod.com/simplemenu.htm

The site is attached as a .zip.

Many thanks for the help.

DS

spiff
11-09-2006, 07:39 AM
pardon me. i'm just wondering if anybody knows the answer to this problem.
i've been spending time trying to find out which file to look at.
would it be the simpletree.js file? i'm not very well versed with javascripting.

apologies if this post is too soon.

spiff
11-09-2006, 08:40 AM
While doing some more testing, I've come across another problem related to the first.

The open.gif and closed.gif appear to be aligned to the top, whereas the list.gif appears to be aligned to the middle. It's obvious when putting the tree menu into a fixed width column.

I'll upload the new link to show what the problem is as soon as I can get tripod to work properly. It's not even recognising me.

DS