/    Sign up×
Community /Pin to ProfileBookmark

IE: page height increase on hover

I’ve been having some weird trouble with IE, where when you move the cursor over a link, the height of the page increases. The page shouldn’t grow in the first place, but, oddly, it never returns to its correct size. This can make the page really long if you do it a lot. Anyone know of a fix, or is it just a bug?

to post a comment
CSS

8 Comments(s)

Copy linkTweet thisAlerts:
@FangDec 20.2003 — How about some code?
Copy linkTweet thisAlerts:
@FangDec 20.2003 — So where's the problem?
Copy linkTweet thisAlerts:
@Paul_JrDec 20.2003 — View the page in IE, then roll your mouse over any one of the links in the nav bar at the top, and watch the scrollbar. The page height increases each time you roll on and off a link.

This only happens with the links at the top of the page.
Copy linkTweet thisAlerts:
@PunkSktBrdr01authorDec 20.2003 — Yeah, what Paul Jr said. It's really weird, 'cause I've only seen it happen on sites I make.
Copy linkTweet thisAlerts:
@Paul_JrDec 20.2003 — It [i]is[/i] really weird, 'cause I haven't ever seen that before...

?
Copy linkTweet thisAlerts:
@FangDec 21.2003 — The problem is your "overkill" in css.

Is it necessary to define declarations with default values?

cursor: pointer is the default for a link, it's not wrong, but unnecessary.

Define the font in body, then change it when necessary.

z-index:10 in #nav a, there can only be one z-index:10

Enough of my style gripes.

The solution: remove height: 100% from body
Copy linkTweet thisAlerts:
@PunkSktBrdr01authorDec 21.2003 — Okay, thanks! ?
×

Success!

Help @PunkSktBrdr01 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 5.20,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...