/    Sign up×
Community /Pin to ProfileBookmark

Page shifts left a bit in IE6

Hi there! xD
Haven’t been here for a while. Been playing games instead of trying making stuff.
So anyway, I got a page that’s centered and it all looks fine… and IS fine in ie7 and in FF. In IE6 only, when I do anything that changes the look of the page, like hovering over a link that has a different :hover style set, the page shifts left about 2 pixels or something. It only does it the first time. Once it’s moved it stays there until you load a different page, but then it will do it on that page as well if you hover another link.

Just to be clear, its not being caused by the scrollbar thing that happens in some browsers and the hover effect doesn’t change the style or size of anything, only a color.

Anybody got any ideas on this? It’s a bit annoying xD

[edit]
Sorry, it’s not the whole page, its just one div that shifts left. That div is the second child of a container div and the other child doesn’t shift.

And now… nevermind. I fiddled a solution that’s close enough for me to use. xP
[/edit]

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@mityaDec 05.2009 — URL? Pretty hard for us to just guess.
Copy linkTweet thisAlerts:
@donatelloDec 05.2009 — You can either hide the line of code or have a different stylesheet or overriding style for IE6:

[code=html]<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="style-ie6.css" />
<![endif]-->[/code]
×

Success!

Help @mintedjo 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.18,
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,
)...