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 6699799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:44:18+00:00 2026-05-26T06:44:18+00:00

I was just wondering about CSS for IE. Typically we have a separate style

  • 0

I was just wondering about CSS for IE. Typically we have a separate style sheet and but I wondered if there was any way of incorporating different options in the same sheet, e.g.:

h1 {
    /* font size for Firefox to be 22px */
    font-size: 22px;
    /* font size for Internet Explorer to be 20px */
    font-size: 20px;
}

I.e. my question is it it possible to have all the options in one CSS sheet with conditions.

  • 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-26T06:44:19+00:00Added an answer on May 26, 2026 at 6:44 am

    Just so it’s posted as an answer (wasn’t 100% sure it’s what you wanted)…

    Check out http://css-tricks.com/132-how-to-create-an-ie-only-stylesheet/ and look beneith the Hacks heading for in-line styles that are applicable only to specific IE versions. e.g.

    IE 6 only

    * html #div {
        height: 300px;
    }
    

    IE 7 only

    *+html #div {
        height: 300px;
    }
    

    IE 8 only

    #div {
      height: 300px\0/;
    }
    

    IE 7 & 8 Only

    #div {
      height: 300px\9;
    }
    

    Non-IE 7 Only

    #div {
       _height: 300px;
    }
    

    Hide from IE6 & Lower

    #div {
       height/**/: 300px;
    }
    
    html > body #div {
          height: 300px;
    }
    

    Quoted for reference and redundancy (in case the link breaks in the future).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering about something. I have a frame that loads pages and
Just wondering about how to avoid Magic Strings in Querystrings? I have a lot
I've just heard of the @font-face CSS attribute, and I was wondering if there
Just wondering about the performance impact of copying very large php variables. For example
I'm just wondering about large projects - say an airlines reservation system, how many
I'm new to web development and am just wondering about best practices for java
I am using .Net3.5. Just wondering my understanding about the insert, update, delete are
Just wondering how you would go about implementing something similar to stackoverflow'd related questions.
Im just wondering how to go about using FormAuthentication in asp.net In our project
I use log4net in just about every code project. I was wondering what other

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.