Reputation:
I have a simple <div>
that is part of a grid area made up of other <div>
's I allow the user to click and double click over the <div>
area. A click changes a color of the <div>
and a double click opens a modal window.
When the cursor hovers over text inside the <div>
then it turns to a vertical bar.
How can I make it so that the cursor always shows as a pointing finger anywhere inside the <div>
. Not sure if it makes a difference but I am looking for a solution for IE9 and above.
<div>
<div>x</div>
<div>y</div>
</div>
For example is there a way I could set the CSS on the outer Div
so it makes all the inner DIV
s have a pointer?
Upvotes: 1
Views: 1854
Reputation: 43166
You can control the pointer using css cursor property, for example
div{
cursor: pointer;
}
Upvotes: 5
Reputation: 543
If you render the text as an image that could work. Apple does this on their website.
Upvotes: -2