Current location: Hot Scripts Forums » General Web Coding » CSS » [SOLVED] Style for DIV


[SOLVED] Style for DIV

Reply
  #1 (permalink)  
Old 06-07-08, 06:53 AM
zoliky's Avatar
zoliky zoliky is offline
Aspiring Coder
 
Join Date: Jun 2006
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Style for DIV

I have this HTML code:

Code:
<div class="show_hide">Show/hide</div>
this div act as an HTML link because I set a Javascript "click" event listener on div.
The question: Is possible to show the finger when I put the mouse on div text Show/hide ? as normal link.

Thanks!
Reply With Quote
  #2 (permalink)  
Old 06-07-08, 07:51 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Add this to your CSS class:
css Code:
  1. cursor: pointer;
Reply With Quote
Reply

Bookmarks


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Style Switcher problems. M@ster CSS 0 01-03-08 01:57 PM
Update textbox style with javascript HairySpider JavaScript 5 10-01-06 05:08 PM
Blogger style script Arctic Script Requests 1 08-03-05 01:50 AM
External style sheets cached? davidjam CSS 3 07-22-05 08:16 AM
eMode/TheSpark Style Tests TheHeggy PHP 0 08-10-04 11:05 AM


All times are GMT -5. The time now is 02:10 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.