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

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bomz
Beginner
Beginner
Posts: 8
Joined: Mon Sep 29, 2003 1:24 pm

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

Post by bomz »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
bomz
Beginner
Beginner
Posts: 8
Joined: Mon Sep 29, 2003 1:24 pm

Post by bomz »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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