/    Sign up×
Community /Pin to ProfileBookmark

Text cursor everywhere.

I am building a small website for someone and I’ve just noticed that when I view the pages in IE, the text cursor is showing up unwantedly everywhere.

(Over empty space mainly… the only places I see the regular pointer cursor are over images / background images.)

Does anyone know why this is / how to fix it?

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@sgraphicsauthorAug 17.2008 — Note: I know you can just set the body / id tags in CSS as 'cursor: default', but this attribute doesn't do exactly what I want it to. It applies it to the whole page and doesn't fix the problem I am getting where if a DIV has text somewhere inside it, then you get the text cursor all over that DIV and not just over the text...

I still want the text-cursor to appear over where there is actually text - just no place else.
Copy linkTweet thisAlerts:
@sgraphicsauthorAug 17.2008 — Oh, okay - I've found this on the matter:

http://www.quirksmode.org/bugreports/archives/explorer_7/index.html

Turns out it is an IE7 bug where a haslayout trigger on a DIV messes up the cursor inside... I've tried and I can't remove the culprits from my CSS without messing the design up, so I'll just leave it as it is.

If anyone else wants to have a go at trying to fix it then I'll post the page code on request.
Copy linkTweet thisAlerts:
@RaunoSchaalOct 22.2008 — Hi,

I don't know whether it is still relevant for you but try giving the div which triggers hasLayout a background (any value but transparent).
×

Success!

Help @sgraphics spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...