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.