Padding and Margin problem, Borders, and Underline

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Scott99999
Beginner
Beginner
Posts: 1
Joined: Thu Jul 15, 2004 9:54 pm

Padding and Margin problem, Borders, and Underline

Post by Scott99999 »

Three questions:

1. I am having a problem with a menu located in a TD. The table, row, and cell have no properties (I specified a height for the cell, but I've also tried turning that off). There seems to be some extra padding and no matter what I do, I can't get the menu to fill the height of the cell.

Image

I have turned on the borders to show what I'm talking about. Realistically speaking, the menu should fit the height of the cell so when the expanded menu is triggered, it is aligned perfectly with the gray/white border.

2. How can I get some left-side padding or margins for the menu once it's in the TD? I'm sure someone will say it's some marginleft property somewhere, but I can't get it to work.

3. How do you get an underline effect to show? I tried various text styles but I also can't seem to get that to work.


Thanks!!!

<<<< Newbie

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

Post by Ruth »

Can you possible put up a test page with the menu and the table as it is laid out? It's difficult even with the picture to really see all the possibilities of what might be affecting the menu, i.e. a css style sheet, other html coding. Also we don't know which version you are using and there have been changes. Generally, there is a property in the menu called menuheight, so you should be able to set the height. If you want the menu to go all the way across the table, I believe you can use menuwidth=100%. As to underline I'm not sure what you want underlined? You might want to check the references to the menu styles. There are links below to all of them. The one for global styles has a property listed called ondecoration to allow you to put in css text-decoration styles.

Ruth
Post Reply