/    Sign up×
Community /Pin to ProfileBookmark

website unbelievably F***ed in IE.

Hi there,

I am building a site and I am using HTML5 markup. I expected some problems in IE but what I’m getting is just crazy.

I am using the html5 shiv from google but I don’t think it’s being recognised. This is my head element in full:

<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Rock 2.0</title>
<!–[if lt IE 9]>
<script src=”http://html5shim.googlecode.com/svn/trunk/html5.js”></script>
<![endif]–>

<link rel=”stylesheet” href=”../css/header.css”>
<link rel=”stylesheet” href=”../css/loginbox.css”>
<link rel=”stylesheet” href=”../css/main.php”>
<meta name=”viewport” content=”width=device-width, initial-scale=1, user-scalable=yes”>

<script src=”../scripts/thickbox.js” type=”text/javascript”></script>
<script src=”../scripts/webforms2.js” type=”text/javascript”></script>
<script src=”../scripts/modernizr.js” type=”text/javascript”></script>

</head>

in safari, opera, firefox, chrome the site looks awesome, however in IE8 the site is just completely white (text and background) images are just randomly placed, <li> lists are unstyled and horrific. if someone can spot an error with my head element or use of the shim, i’d be grateful.

Thanks

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@SpytimauthorSep 15.2011 — Here are screenshots:

IE

Firefox
Copy linkTweet thisAlerts:
@aj_nscSep 15.2011 — 
  • 1. No doctype???

  • 2. Modernizr has an html5 shim included in it (unless you specifically built modernizr without it). No need to include a second separate html5 shim script.
  • Copy linkTweet thisAlerts:
    @SpytimauthorSep 15.2011 — Hi aj,

    the doctype is included in the index.php which then pulls various other elements into it, eg:


    <!DOCTYPE html>

    <?php include('header.php'); ?>

    <?php include('content.php'); ?>

    <?php include('footer.php'); ?>
    [/QUOTE]


    I have tried various combinations of shim and modernizr... the results don't change ?
    ×

    Success!

    Help @Spytim 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.28,
    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,
    )...