/    Sign up×
Community /Pin to ProfileBookmark

This site is fine in FF but in IE (7) its exploding. any ideeas? Is there an IE fix?

[url]www.lamourdesign.com/CLIENTS/HERITAGE/website/index.html[/url]

ty

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@CentauriSep 09.2008 — First off, your IE only css file should contain [B]ONLY[/B] any styles you want changed from the main css, and should not repeat the main css - ie. it should be blank for starters until you need something [B]different[/B] for IE. You usually only need a separate sheet for IE6 anyway - IE7 is much better behaved.

The navigation problems are due to the way different browsers indent lists - FF uses left padding but IE uses left margin, and it is this margin causing the issues here - general rule is to control BOTH margins and padding to display lists the same cross-browser.

The other problems have something to do with the tables, but I don't know what that might be as I only use tables for their proper purpose, and [B]never[/B] for layout......

Also note that IE6 does not support :hover on anything other than <a> links, so your hover does not work - better off setting the navigation <a>s as block display, sizing them and applying the backgrounds and hover to them instead of the <li>s.
×

Success!

Help @riskmod 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.27,
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,
)...