Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6545639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:36:36+00:00 2026-05-25T11:36:36+00:00

I am using HTML5 < section > tag in my application, padding for <

  • 0

I am using HTML5 < section > tag in my application, padding for < section > tag works fine in chrome,ff and safari but its not working in IE..

I tried adding display:block; with the section style but its not useful…

any solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:36:37+00:00Added an answer on May 25, 2026 at 11:36 am

    Many older browsers don’t understand HTML5 tags like section and use the fallback of treating them as inline items in the flow of the document.

    IE goes a step beyond this and totally ignores HTML5 tags. To fix this, you’ll need to add the tags to the document via Javascript. Fortunately, there’s a very nice HTML5Shiv that you can embed in the head of your html like so:

        <!DOCTYPE html> 
        <head>
    
        <!--[if lt IE 9]>
        <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]--> 
    
        </head>
    

    Any IE less than IE9 will now use this script to enable the common HTML5 blocks.

    You will still need to use CSS to make the tags display as blocks. I use:

        article,aside,details,figcaption,figure,
        footer,header,hgroup,menu,nav,section { 
                display:block;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to start using HTML5's basic features, but at the same time, keep
I'm using the HTML5 elements and in a project i'm working on and the
I keep making attempts at properly using HTML5 but I feel like it's still
I know that it's incorrect to style a <section> tag but how about the
We've tried to dynamically update our rss-links (using JavaScript) in the head section of
I have an iPhone web application that creates a meta viewport tag dynamically, using
I'm using the .load() function to load a section of html that has some
I'm experimenting with using html5 and css counters to number the figures in a
I am looking at using HTML5 Canvas element for my upcoming project. I want
I feel stupid... my desire is to write HTML5 using XML and I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.