i created a html5 page using external style sheet.
below script is working fine in chrome and firefox not in ie
pls help
script below
----------------HTML---------------------------------css--HTML Code:<!DOCTYPE HTML> <html lang="us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML 5 Responsive Web Site</title> <link href="style.css" rel="stylesheet" media="screen" type="text/css"/> </head> <body class="body1"> <header class="mainheader"> <img src="img.jpg"/> <nav> <ul> <li class="active"><a href="#">Home</a></li> <li><a href="#">About</a></li> <li><a href="#">Portfolio</a></li> <li><a href="#">Contact</a></li> </ul> </nav> </header> <div class="maincontent"> <div class="content"> <article class="topcontent"> <header> <h2><a href="#" title="First Post">First Post</a></h2> </header> <footer class="post-info"> <p>This Tag is Posted By Madhusudan K</p> </footer> <content> <p> Abrief overview of Java's string handling was presented in Chapter 7. In this chapter, it is described in detail. As is the case in most other programming languages, in Java a string is a sequence of characters. But, unlike many other languages that implement strings as character arrays, Java implements strings as objects of type String. Implementing strings as built-in objects allows Java to provide a full complement of features that make string handling convenient. For example, Java has methods to compare two strings, search for a substring, concatenate two strings, and change the case of letters within a string </p> </content> </article> <article class="bottomcontent"> <header> <h2><a href="#" title="First Post">Second Post</a></h2> </header> <footer class="post-info"> <p>This Tag is Posted By Madhusudan K</p> </footer> <content> <p> Abrief overview of Java's string handling was presented in Chapter 7. In this chapter, it is described in detail. As is the case in most other programming languages, in Java a string is a sequence of characters. But, unlike many other languages that implement strings as character arrays, Java implements strings as objects of type String. Implementing strings as built-in objects allows Java to provide a full complement of features that make string handling convenient. For example, Java has methods to compare two strings, search for a substring, concatenate two strings, and change the case of letters within a string </p> </content> </article> </div> </div> <aside class="top-sidebar"> <article> <h2>Top Side Bar</h2> <p>character arrays, Java implements strings as objects of type String. Implementing strd.,</p> </article> </aside> <aside class="middle-sidebar"> <article> <h2>Middle Side Bar</h2> <p>character arrays, Java implements strings as objects of type String. cannot be changed.</p> </article> </aside> <aside class="bottom-sidebar"> <article> <h2>Middle Side Bar</h2> <p>character arrays, Java implements strings as objects of type String. Implementing strings as built-in objects allows Java to provide a full complement of cannot be changed.</p> </article> </aside> <footer class="main-footer"> <p>© Copyright All Rights Reserved.</p> </footer> </body> </html>


Reply With Quote

Bookmarks