Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

now setting widths on columns so the line up side by side in yap

  • Loading branch information...
commit ee58c417e8906e1348ab1abd9b8a943d87bb807d 1 parent e2ca446
erik authored
Showing with 9 additions and 8 deletions.
  1. +9 −8 templates/entertainment.php
View
17 templates/entertainment.php
@@ -1,12 +1,4 @@
<?php
-
-/**
- * This is a template for rendering a feed described as "entertainment" in the
- * "Yahoo! Developer's Guide for Feed Templates":
- * http://public.yahoo.com/~jchu/StdFeedTemplate_TechnicalandDesignGuidance.doc
- * This file assumes a variable named $feedUrl has been defined.
- */
-
$feed = simplexml_load_file($feedUrl);
//BEGIN: preprocess feed data so template isn't too complicated to read
@@ -172,8 +164,11 @@
.wrapper .body .title {
font-weight: bold;
}
+
+/* left column */
.wrapper .body .left {
float: left;
+ width: 65%;
padding-left: 10px;
}
.wrapper .body .left li {
@@ -189,8 +184,14 @@
.wrapper .body .left .top {
margin-bottom: 10px;
}
+
+/* right column */
.wrapper .body .right {
float: right;
+ width: 32%;
+}
+.wrapper .body .right li {
+ margin-bottom: 10px;
}
</style>
Please sign in to comment.
Something went wrong with that request. Please try again.