css line-height (Andy)

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

css line-height (Andy)

Post by Maz »

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
clockworkcomputers
Beginner
Beginner
Posts: 1
Joined: Fri Aug 12, 2005 2:49 pm

Post by clockworkcomputers »

I am having the same issue!

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

Post by Ruth »

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
Post Reply