html5 - Why is my PHP/HTML Header color/border not showing in OLD IE Browsers/ And it's not the CSS -
the below header: following cookie in php
<header> <div id="first"> <?php if ($visits > 1) { echo "thanks coming more laughs!!!"; } else { // first visit echo 'welcome website!'; } ?> </div>
this h1, h2, images, link, , image
<h1>the clean jokes , riddles website!</h1> <h2>add & search jokes or riddles</h2> <div> <img id ="funny" img src="images/funny.jpg" alt="funny"/> <img id ="dog" img src="images/pet.jpg" alt="dog"/> </div> <div id="a"> <a href="?add" >add new joke or riddle</a> <img id="bell" img src="images/bell1-c.gif" alt="bell"> </div> </header>
older versions of ie not apply css rules elements don't recognize.
includes newer html5 elements <header>
.
you can use html5shim or modernizr fix that.
Comments
Post a Comment