/    Sign up×
Community /Pin to ProfileBookmark

display: block – not working in IE

I’ve done a few Google searches, and can’t seem to find a solution. I’m sure someone else out there has run to this very same issue though. We’ve built a site where we have defined a couple a tags’ areas using absolute positioning.

It works GREAT in Safari and FF, but doesn’t do anything in IE. If I add a rule for border: 1px solid #f00 to the CSS file, I can click on the border itself, but not inside the box.

Here’s the link to the site: [url]http://www.extermital.com/[/url]

Here’s some of my example CSS code:

[code]
#content-sub {
text-indent: -999em;
}
#content-sub a#contact-link {
display: block;
position: absolute;
top: 130px;
left: 80px;
width: 80px;
height: 15px;
}
#content-sub a#map-link {
display: block;
position: absolute;
top: 228px;
left: 15px;
width: 186px;
height: 210px;
}
[/code]

Any ideas? You should be able to click on the map on the left column or the Contact Form up above that.

Thanks,
Shaun

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @perpetualshaun 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.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

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