com web/php: Add some very simple styling to the conference teaser on the home page. This isn't intended to be the final version of this, and I'd love
someone else to make it pretty -- for now, all I've done is set it apart a touch from the news feed.: include/header.inc styles/home.css
styles/workarounds.ie9.css

From: Date: Fri, 18 Mar 2011 06:02:20 +0000
Subject: com web/php: Add some very simple styling to the conference teaser on the home page. This isn't intended to be the final version of this, and I'd love
someone else to make it pretty -- for now, all I've done is set it apart a touch from the news feed.: include/header.inc styles/home.css
styles/workarounds.ie9.css
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-23581@lists.php.net to get a copy of this message
Commit: 0aa221662b108f44d3a9d50980be18fed8c185a5 Author: Adam Harvey <aharvey@php.net> Fri, 18 Mar 2011 06:02:20 +0000 Parents: 0c94e8a76ace350a074218d0b944184b5b9c5c63 Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=0aa221662b108f44d3a9d50980be18fed8c185a5 Log: Add some very simple styling to the conference teaser on the home page. This isn't intended to be the final version of this, and I'd love someone else to make it pretty -- for now, all I've done is set it apart a touch from the news feed. Changed paths: M include/header.inc M styles/home.css A styles/workarounds..ie9.css Diff: diff --git a/include/header.inc b/include/header.inc index 23d1562..bf18fdd 100644 --- a/include/header.inc +++ b/include/header.inc @@ -47,6 +47,10 @@ if (isset($shortname) && $shortname) { <link rel="stylesheet" type="text/css" href="<?php echo $STATIC_ROOT ?>styles/workarounds.ie7.css<?php echo $v?>" media="screen" /> <![endif]--> + <!--[if lte IE 9]> + <link rel="stylesheet" type="text/css" href="<?php echo $STATIC_ROOT ?>styles/workarounds.ie9.css<?php echo $v?>" media="screen" /> + <![endif]--> + <!--[if IE]> <script type="text/javascript" src="<?php echo $STATIC_ROOT ?>js/ext/html5.js<?php echo $v?>"></script> <![endif]--> diff --git a/styles/home.css b/styles/home.css index 6660848..00a8873 100644 --- a/styles/home..css +++ b/styles/home.css @@ -161,3 +161,17 @@ complimentary greens: 9FB553 7B8851 61761B C6DA82 CCDA99 -moz-border-radius: 5px; -webkit-border-radius: 5px; } + +#confTeaser { + margin-right: 340px; + border: 1px solid #c3add9; + padding: 12px; +} + +#confTeaser td { + display: block; +} + +#confTeaser td:first-child { + font-weight: bold; +} diff --git a/styles/workarounds.ie9.css b/styles/workarounds.ie9.css new file mode 100644 index 0000000..ba84cb8 --- /dev/null +++ b/styles/workarounds.ie9.css @@ -0,0 +1,6 @@ +#confTeaser td { + /* No version of IE currently available (including IE 9) supports setting + * the display on td elements to anything other than table-cell. The float + * masks the problem without really fixing it. */ + float: left; +}

« previous php.webmaster (#23581) next »