| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: May 2003
Posts: 2,187
![]() ![]() ![]() | a td a mouse out a mouse over and a background color sup people ok im starting to redesign my site, and im wanting to change the background color of a <td> tag on mouse over so ive got this Code: style="cursor:pointer;cursor:hand;" onMouseOver="bgColor='#CFDFCF'" onMouseOut="bgColor='#DFEFDF'" ????: NamePros.com http://www.namepros.com/web-design-discussion/14998-td-mouse-out-mouse-over-background.html thing is tho it changes the background color of the page i used the same thing on a site i was working on but never fishied a while ago and it never did this anyone know whats wrong? attached is my code thanks adam |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Sep 2002 Location: Canada
Posts: 481
![]() | I offer 2 solutions. Use background-color: #xxxxxx;" instead of bg-color as background-color refers to the background color of the text and bgcolor is that of the page, table, or td. But, this will only highlight the immediate background of the text, nothing beond the pixels within the text. However, if you wanted the whole td cell to changecolor, instead of just the background of the text then you can move your entire code to the td tag.
__________________ Sometimes I lay awake at night and I ask "Where have I gone wrong?" Then a little voice says "This is going to take more than one night" |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |