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:15
<td> style in .css messes up menu
Poster: koos
Dated: Wednesday February 8 2006 - 19:07:31 GMT
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.
Poster: vikenk
Dated: Wednesday February 8 2006 - 19:16:33 GMT
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
Hope this helps.
Poster: koos
Dated: Wednesday February 8 2006 - 20:21:45 GMT
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
Hope this helps.
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
Hope this helps.