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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:45:33+00:00 2026-06-04T20:45:33+00:00

I have to translate this code: <!–[if IE 7]> <link rel=stylesheet type=text/css href=css/ie7-style.css />

  • 0

I have to translate this code:

<!--[if IE 7]>    <link rel="stylesheet" type="text/css" href="css/ie7-style.css" />    <![endif]-->

for CakePHP. At the moment I’m using $this->Html->css('fileName') in the view file and in the default.ctp I do echo $this->fetch('css');

But what do to when i must to use a conditional css expression like above?

Thanks

  • 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-06-04T20:45:35+00:00Added an answer on June 4, 2026 at 8:45 pm

    If you want conditionals set inside a view file (as in not in a layout), you can do:

    // in your view file
    $this->Html->css('file', null, array('block' => 'ie_conditional_css'));
    
    // in layout
    <?php if ($ieConditionalCss = $this->fetch('ie_conditional_css')): ?
    <!--[if lt IE 8]><?php echo $ieConditionalCss ; ?><![endif]-->
    <?php endif; ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have url http://translate.google.ru/translate_a/t?client=x&text=ввійти вийти&sl=ua&tl=en If you will go through this link in response
I have this code: $str = '(Test)'; $final = preg_replace('/\[translate=([a-z]{2})(.*)\]'.preg_quote($matches[3][$i]).'\[\/translate(.*)\]/',$str,$final,-1,$ct); It handles a situation
I have this code that works in FreePascal under Windows and need to translate
I have this code below, and I want to translate it to ASM, to
i have this code: require 'java' require 'iText-5.0.6.jar' module Pdf include_package com.itextpdf.text.pdf include_package java.io
I have never used ruby but need to translate this code to java. Can
I have some jquery code which I am trying to translate to YUI. I
I have a lot of text data and want to translate it to different
i have this code that can do fast search on database. it works excellent
I can't understand what this code does: if any(scale==0) loglik = -inf; I have

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.