Grow your CSS skills. Land your dream job.

#23: Conditional Stylesheets

Internet Explorer provides a way to target CSS styling information specifically for its different versions. These "conditional stylesheets" are the best way to handle CSS problems that pop up with your page in IE. They aren't "hacks" (which are liable to cause problems with new browsers down the road), they are perfectly valid code. Just be careful not to overdo it and make things more complicated for yourself.

Links from video:

Comments

  1. Robert
    Permalink to comment#

    Thank you! Your video really helped me to understand more about IE problems.

  2. Hossein
    Permalink to comment#

    Thank you!

  3. cats
    Permalink to comment#

    that’s cool

Leave a Comment

Posting Code

  • Use Markdown, and it will escape the code for you, like `<div class="cool">`.
  • Use triple-backticks for blocks of code.
    ``` 
    <div>
      <h1>multi-line block of code</h1>
      <span>be cool yo.</span>
    </div>
    ```
  • Otherwise, escape your code, like <code>&lt;div class="cool"&gt;</code>. Markdown is just easier though.

Current ye@r *

*May or may not contain any actual "CSS" or "Tricks".