NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Web Design Discussion
Reload this Page a td a mouse out a mouse over and a background color

Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms.

Advanced Search
10 members in live chat ~  
NamePros Design Contests 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)



Closed Thread
 
LinkBack Thread Tools
Old 07-14-2003, 11:47 AM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer

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
Attached Files
File Type: txt adam_uk.txt (7.7 KB, 2 views)
adam_uk is offline  
Old 07-14-2003, 07:12 PM   #2 (permalink)
NamePros Regular
Join Date: Sep 2002
Location: Canada
Posts: 481
DarkDevil is an unknown quantity at this point
 



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"
DarkDevil is offline  
Old 07-16-2003, 05:23 AM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
thanks ill try it
adam_uk is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 07:34 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger