Making WordPress.org

Changeset 2594


Ignore:
Timestamp:
02/24/2016 09:22:07 PM (11 years ago)
Author:
coffee2code
Message:

Browse Happy: Add IE6 support. Props aphillips8.

Location:
sites/trunk/browsehappy.com/public_html
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/browsehappy.com/public_html/index.php

    r2593 r2594  
    2020        <link rel="apple-touch-icon" sizes="114x114" href="<?php echo get_template_directory_uri(); ?>/imgs/apple-touch-icon-114x114.png" />
    2121
    22         <!--[if (gt IE 6)|!(IE)]><!-->
    23                 <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?5" />
    24                 <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr-1.6.min.js"></script>
    25                 <script src="https://use.typekit.com/lsw6yis.js"></script>
    26                 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
    27         <!--<![endif]-->
     22        <link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/style.css?5" />
     23        <script src="<?php echo get_template_directory_uri(); ?>/js/modernizr-1.6.min.js"></script>
     24        <script src="https://use.typekit.com/lsw6yis.js"></script>
     25        <script type="text/javascript">try{Typekit.load();}catch(e){}</script>
     26
     27        <!--[if lt IE 7]>
     28                <script src="<?php echo get_template_directory_uri(); ?>/js/pngfix.min.js"></script>
     29                <script>DD_belatedPNG.fix('#i18n-alert, header, #browserlist li .icon, footer, #share nav li a, #byline a');</script>
     30        <![endif]-->
    2831
    2932<?php wp_head(); ?>
  • sites/trunk/browsehappy.com/public_html/style.css

    r2590 r2594  
    328328}
    329329
     330.ie6 #browserlist h2 {
     331        background: #E7DECD; /* 24-bit PNG not supported in IE6, replacing with flat color */
     332}
     333
     334.ie6 #browserlist li a:hover h2 {
     335        background: #EEE8DC; /* Lighter color on hover to simulate transparency */
     336}
     337
    330338#browserlist p {
    331339        padding: 0 5px;
     
    335343#browserlist p.info {
    336344        min-height: 120px;
     345}
     346
     347.ie6 #browserlist p.info {
     348        height: 120px; /* Fix for min-height bug */
    337349}
    338350
     
    357369}
    358370
     371.ie6 #browserlist p.website {
     372        background: #E7DECD; /* 24-bit PNG not supported in IE6, replacing with flat color */
     373}
     374
    359375#browserlist li a:link, #browserlist li a:visited {
    360376        color: #324B4B;
     
    377393.no-rgba #browserlist li a:hover {
    378394        background: url(imgs/alphabg.png) repeat;
     395}
     396
     397.ie6 #browserlist li a:hover {
     398        background: #E7DECD; /* 24-bit PNG not supported in IE6, replacing with flat color */
    379399}
    380400
     
    474494}
    475495
     496.ie6 #about {
     497        display: inline; /* Fix for double margin float bug */
     498}
     499
    476500#share {
    477501        width: 30%;
     
    481505}
    482506
     507.ie6 #share {
     508        display: inline; /* Fix for double margin float bug */
     509}
     510
    483511#share nav li {
    484512        width: 32px;
     
    486514        float: left;
    487515        margin-right: 9px;
     516}
     517
     518.ie6 #share nav li {
     519        display: inline; /* Fix for double margin float bug */
    488520}
    489521
Note: See TracChangeset for help on using the changeset viewer.