SeperatorHeight Issue

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dbaron
Advanced
Advanced
Posts: 13
Joined: Fri Dec 19, 2003 9:16 pm

SeperatorHeight Issue

Post by dbaron »

Hi There,

I have a basic horizontal menu bar with 10 or so menu items. I am trying to use the seperatorheight property, but it doesn't seem to do anything. First, if I set it to any value within a Style object, then the entire menubar fails to draw. If I move the property to the menu definition itself, then the menu bar draws, but the seperator line is always 100% of the height of the bar. And the bar does have a padding value of 4. First off - if the value for this property an absolute pixel value, or a relative percentage value? It would be nice if the documentation mentioned this for each and every property by the way. Second, is there anything else I need to set to get this property to work?

Thank you.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I tried using separatorheight in the newest version and it seems to work fine. The height must be less than the actual menu height. I just played with it until I got a height that was less, since i have no idea what height the menu actually is. For the sample, I used separatorheight=15; and that worked , it centered the line from top to bottom. I tried percentages and although that changed the height of the separator, it only brought it up from the bottom, making it look like the line started to be drawn from the top and then quit before it reached the bottom. Hope that helps. Oh, I didn't put any px or em or anything, just the number.

Ruth
Post Reply