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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:56:50+00:00 2026-05-31T04:56:50+00:00

so I have this css code: .onetoone{ position: relative; margin: 10px auto 5px; padding:

  • 0

so I have this css code:

.onetoone{
    position: relative;
    margin: 10px auto 5px;
    padding: 20px;
    width: 878px;
    [if ! IE] height: 1241px;
    [if IE] height: 241px;
    border: 1px solid #AAAAAA;
    behavior: url(PIE.htc);
}

However I don’t see any different height on .onetoone in IE and Firefox, both are still have the same 214px height. It should has a 1232px height in firefox and 241px height in IE 8, right?

What did I miss?

Thanks for all your answers.

  • 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-31T04:56:52+00:00Added an answer on May 31, 2026 at 4:56 am

    Have you read the usage file?

    According the website, you have to write the css and compile it using its online tool and then you have include c-css.php to get it working.

    @import "/media/css/c-css.php";
    

    According to example from this website, this should fix the problem.

    .onetoone{
        position: relative;
        margin: 10px auto 5px;
        padding: 20px;
        width: 878px;
        border: 1px solid #AAAAAA;
        behavior: url(PIE.htc);
    }
    [if !IE] .onetoone {
        height: 1241px;
    }
    
    [if IE] .onetoone {
        height: 241px;
    }
    

    After you compile it becomes a huge file like this one here and you include like the way I said above.


    However, I would go with the good old fashioned way I knew. And it was to include different css with the conditional CSS comments

    <!--[if IE]>
       <style>
          .onetoone {
            height: 241px;
           }
       </style>
    <![endif]-->
    
    <!--[if !IE]>
       <style>
          .onetoone {
            height: 1241px;
           }
       </style>
    <![endif]-->
    

    Should work either way.


    Update

    Instead of loading different style like the one in my example load different file in the end after loading all the main css files in this way.

    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="fixforie.css" />
    <![endif]-->
    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="fixforie6.css" />
    <![endif]-->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this CSS code : #d_image { float: left; width: 320px; margin-top: 20px;
I have this CSS code: <style> body { position:absolute; background-image: url(art/c11.jpg); width:100%; height:100%; }
I have this code <html> <head> <style type=text/css> .frame {width: 50em; border: 1px solid
I have the following CSS code .editable:before { content: url(../images/icons/icon1.png); padding-right:5px; } this is
I have this css code #storage_screen { top: -100%; width: 100%; height: 100%; background:
I have this CSS code: #tweet-container{ width: 290px; height: 272px; border: 1px solid #CCC;
I have this HTML/CSS code ( JSBin ): .trackTime{width:50px; text-align:left; float:left;} .trackInputTime{width:45px; height:22px; background-color:#F4F4F4;}
i have this CSS code: h1 { font-size:22px; color:#341C12; font-weight:normal; font-style:italic; } .h1color h1{
I have this code: $(div[id^='intCell']).mouseover(function() { $(this).css({ border:,1px solid #ff097c}); }).mouseout(function() { $(this).css({border:,1px solid
I have this background, the css code is: body { background: #FFF url('images/bg.png') no-repeat

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.