![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to change the bgcolor of a TD/mouseOver? And if possible, what's the code. I've tried a few things but no good so far. Thx |
#3
| |||
| |||
|
|
Show me what you have done that has not worked, please. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template Triage! http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes ================== "Cuprik" <webforumuser (AT) macromedia (DOT) com> wrote in message news:c85m6o$s02$1 (AT) forums (DOT) macromedia.com... Is it possible to change the bgcolor of a TD/mouseOver? And if possible, what's the code. I've tried a few things but no good so far. Thx |
#4
| |||
| |||
|
|
Sorry - my message was way too cryptic: I want to do something like the following using CSS on a TD mouseOver: Essentially, the best way to change the bgcolor of a TD pulldown menu item on rollover. td:hover{ background-color: #FFFFFF } OR a.navlink:hover { td.background-color: #FFFFFF; } (assuming that the TD contains a A HREF statement) Thx again "Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message news:c85ogb$uu$1 (AT) forums (DOT) macromedia.com... Show me what you have done that has not worked, please. -- Murray --- ICQ 71997575 Team Macromedia Volunteer for Dreamweaver MX (If you *MUST* email me, don't LAUGH when you do so!) ================== news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET ANSWERS ================== http://www.dreamweavermx-templates.com - Template Triage! http://www.projectseven.com/go - DW FAQs, Tutorials & Resources http://www.dwfaq.com - DW FAQs, Tutorials & Resources http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes ================== "Cuprik" <webforumuser (AT) macromedia (DOT) com> wrote in message news:c85m6o$s02$1 (AT) forums (DOT) macromedia.com... Is it possible to change the bgcolor of a TD/mouseOver? And if possible, what's the code. I've tried a few things but no good so far. Thx |
#5
| |||
| |||
|
|
Cuprik wrote: Is it possible to change the bgcolor of a TD/mouseOver? And if possible, what's the code. I've tried a few things but no good so far. Thx Add a CSS style to the cell, either in a remote stylesheet or in the head section of the page, or put this in the cell tag: td onMouseOver="this.style.backgroundColor='#CC0000'" onMouseOut="this.style.backgroundColor='#000000'" -- Dan Vendel - *GOF* Contact me directly at http://contact.vendel.info Formmail tutorial at http://www.vendel.info/tut/formmail.html Nested table demonstration at http://www.vendel.info/tabletut/ Search Engine Optimization & Rank Control Utility at http://awr.vendel.info Search Dreamweaver newsgroup at http://www.vendel.info/google.html |
#6
| |||
| |||
|
|
Is it possible to change the bgcolor of a TD/mouseOver? And if possible, what's the code. I've tried a few things but no good so far. Thx |
#7
| |||
| |||
|
|
Mine is better! 8) |
#8
| |||
| |||
|
|
Let the background color come from the <a> tag by defining a width and height that will fill the cell - |
#9
| |||
| |||
|
|
Murray *TMM* wrote: Let the background color come from the <a> tag by defining a width and height that will fill the cell - No it won't! Not unless you set "a" tag as a block element! |
#10
| |||
| |||
|
|
But on a horizontal menu, it's not necessary. |
![]() |
| Thread Tools | |
| Display Modes | |
| |