<td> style in .css messes up menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
koos
Beginner
Beginner
Posts: 3
Joined: Wed Feb 08, 2006 8:05 pm

<td> style in .css messes up menu

Post by koos »

Hi,

I have a style for the <TD> element in my custom stylesheets.

My menus that have submenus now use this style to decorate itself instead of the styles defined in the milonic configuration.

Any ideas how to bypass this? I HAVE to have the <TD> elements style defined in .css.
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Hi,

The menu is sensitive to <table> and <td> styling, as well as some other generic tag styles. The answer is to not style the tag directly, but to create a class. So, you would want to replace "td { my style }" with "td.whatever { my style }.

Since you seem versed in css, I'll assume you know how to make and apply a style in html :D

Hope this helps.
koos
Beginner
Beginner
Posts: 3
Joined: Wed Feb 08, 2006 8:05 pm

Post by koos »

Thanks, will try that....

vikenk wrote:Hi,

The menu is sensitive to <table> and <td> styling, as well as some other generic tag styles. The answer is to not style the tag directly, but to create a class. So, you would want to replace "td { my style }" with "td.whatever { my style }.

Since you seem versed in css, I'll assume you know how to make and apply a style in html :D

Hope this helps.
Post Reply