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

  • SEARCH
  • Home
  • 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 4112982
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:15:55+00:00 2026-05-20T22:15:55+00:00

Imagine I’m having a DIV . I want to display it in a row

  • 0

Imagine I’m having a DIV. I want to display it in a row with other divs, so I’m giving it display: inline-block along with other style definitions in a CSS sheet.

Now Internet Explorer wants to have display: inline; for the behavior I want.

How do I give Internet Explorer a seperate styling command to overwrite the definition for good browsers, so only IE will have display: inline;. Due to technical limitations I cannot use <![If IE] -->-stuff in HTML, I need to stay within the CSS file.

  • 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-20T22:15:55+00:00Added an answer on May 20, 2026 at 10:15 pm

    You can use selectors like so:

    \9 – IE8 and below, * – IE7 and below, _ – IE6

    So in your case:

    *display: inline;
    

    You can simply add this to the rest of the css:

    div{
    display: inline-block;
    // some;
    // other;
    // css;
    *display: inline;
    }
    

    Read my blog post on this.

    Update

    IE version 5 till 8. (They are all
    affected) – Cobra_Fast 1 min ago

    So in this case, you’d use

    div{display\9:inline;}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

imagine this html on a page <div id=hpl_content_wrap> <p class=foobar>this is one word and
Imagine I want to draw a pyramid made of triangles. -Should I create a
Imagine you have two views with code like the following: controller_a/a.html.erb <%= content_tag(:div) do
Imagine i have 2 html files index.html <html> <div id=content></div> <div id=footer></div> <script> $(#content).load(productos.html);
Imagine a view with, say, 4 subviews, next to each other but non overlapping.
Imagine I want to transform a canvas context coordinate space to contain a certain
Imagine I want to, say, compute the first one million terms of the Fibonacci
Imagine a full Android device screen, I want it split in to two sections:
Imagine you want to animate some object on a WinForm. You setup a timer
Imagine an object you are working with has a collection of other objects associated

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.