Results 1 to 2 of 2

Thread: Css not working in ie(css3)

  1. #1
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Css not working in ie(css3)

    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-----------
    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>&copy; Copyright All Rights Reserved.</p>
        </footer>
    </body>
    </html>
    ----------------------css--
    Last edited by traq; 02-28-2014 at 03:45 AM.

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    "not working" has no real meaning—after all, if it were working, you wouldn't be asking for help, right?
    Let us know, specifically, what your problem is: describe what you expected to happen, vs. what actually happened.

    It is often very helpful to link to a live page in situations like this, instead of providing a "code dump." If your site is not online yet, you can use a service like jsfiddle.

    Also (I've fixed it for you this time),
    Please use the forum's bbcode tags and indent your code to make it more readable:

    for php code............[php] <?php /* code goes here */ ?> [/php]
    for html...............[html] <!-- markup goes here -->.....[/html]
    for js/css/other.......[code] code goes here................[/code]

    results in:
    PHP Code:
     <?php /* code goes here */ ?>
    HTML Code:
     <!-- markup goes here -->
    Code:
     code goes here

Similar Threads

  1. CSS3 Help
    By dmwhipp in forum CSS
    Replies: 0
    Last Post: 10-29-2013, 01:01 AM
  2. CSS3 Hover script...
    By magnetik12 in forum CSS
    Replies: 5
    Last Post: 02-12-2013, 07:26 AM
  3. CSS3 elements
    By james438 in forum CSS
    Replies: 5
    Last Post: 06-28-2010, 10:55 AM
  4. Diff in css 1 n css3
    By gurmeet in forum CSS
    Replies: 3
    Last Post: 03-08-2009, 01:53 PM
  5. Test for CSS3?
    By jlizarraga in forum JavaScript
    Replies: 4
    Last Post: 03-08-2009, 01:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •