Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:39
css line-height (Andy)
Poster: Maz
Dated: Thursday March 4 2004 - 20:57:12 GMT
I have a conflict with line-height, I don't see any way to effect line-height in menu styles, so any line height I have for a table in css overides other menu size properties for line-height.
eg:
#anything td{
line-height: 2em;
}
#anything table{
font: 12px/2em arial;
}
imagealign=right goes right of subimage not right of text.
I've tried padding, margin, offsets, images but can't get 30px right menu margin on 100% menu width. (ie wants a width, height and margin on everything, when using percentages it makes sense that all values should be a percentage?)
I've managed to fudge the width but IE is a mess because it won't go 100%. Its not responding to 4 dimension padding.
Someone mentioned not being able to get pageimage to appear, I couldn't get it either, and had to use a suitable subimage for both.
Thanks,
maz
Poster: clockworkcomputers
Dated: Friday August 12 2005 - 14:50:53 BST
I am having the same issue!
Looking for assistance.
Poster: Ruth
Dated: Friday August 12 2005 - 16:36:36 BST
I'd think you could just use a class both on and off for the menu and add it to the different menuStyles.
.menuSpec{line-height:whatever height} then in the menu data file in the various styles you'd add offclass="menuSpec";onclass="menuSpec"; that should add that to the other style items that are in the different menuStyles where you put it.
Try that and let us know if it works.
Ruth