Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:31

style for text=<table>TITLE</table>


Poster: bomz
Dated: Wednesday April 28 2004 - 14:40:25 BST

Hi there,

I need to put title of the menu item into html table:

aI("text=<table><tr><td bgcolor=#AAAAAA><img src=arrow.gif></td><td>Title</td></tr></table>;");

But, appearantly, font style applied to the text in menu items isn't applied to text in the table cell. In NS 4.7 moving mouse over "Title" text does not even change mouse pointer as it should in case of link. Is there some style name one could set for table cell (<td> tag) to make text placed in table cell look the same way ordinary menu text does?

Thanks


Poster: John
Dated: Wednesday April 28 2004 - 14:56:25 BST

Either css or font tags should work with no problems within a <table>. Are you sure you don't have a current css defined that would override the <table>?

Also, there's not too much we can do without a URL.


Poster: bomz
Dated: Wednesday April 28 2004 - 15:34:25 BST

John, yes, I can set style of my own, but I thought maybe there is already pre-defined style using fontsize/fontstyle/etc I set when defining menu style, so I won't have to define it twise - once in "with(menuStyle=new mm_style()) { ... }" block and again for each menu item with html code instead of plain text.
Thanks anyway.


Poster: John
Dated: Wednesday April 28 2004 - 15:38:33 BST

Nothing is pre-set in that way. That's actually one of many things that makes this system so nice - you're not stuck with 'our way'. It's wide open for your design with nothing to get in the way.


Poster: kevin3442
Dated: Friday April 30 2004 - 19:23:21 BST

Hi Bomz,

Might be better if you describe the desired end result (what exactly is it you want to do) and see if we can suggest a different way to get there.

Kevin