Skip to content

Instantly share code, notes, and snippets.

@zeropointdevelopment
Last active January 3, 2016 02:19
Show Gist options
  • Select an option

  • Save zeropointdevelopment/8394754 to your computer and use it in GitHub Desktop.

Select an option

Save zeropointdevelopment/8394754 to your computer and use it in GitHub Desktop.

Revisions

  1. limecanvas revised this gist Jan 13, 2014. 4 changed files with 15 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions conditional-ie.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <!--[if lte IE 9]>
    Your IE8 and below HTML code here.
    Perhaps importing a specific style sheet.
    <![endif]-->
    6 changes: 6 additions & 0 deletions css-ie6.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    div {
    border: 2px solid #aaa; /* for all browsers */
    border: 2px solid #f009; /* IE8 and below - red border */
    *border: 2px solid #0f0; /* IE7 and below - green border */
    _border: 2px solid #00f; /* IE6 and below - blue border */
    }
    5 changes: 5 additions & 0 deletions css-ie7.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    div {
    border: 2px solid #aaa; /* for all browsers */
    border: 2px solid #f009; /* IE8 and below - red border */
    *border: 2px solid #0f0; /* IE7 and below - green border */
    }
    File renamed without changes.
  2. limecanvas created this gist Jan 13, 2014.
    4 changes: 4 additions & 0 deletions css-1.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    div {
    border: 2px solid #aaa; /* for all browsers */
    border: 2px solid #f009; /* IE8 and below - red border */
    }