Browse Source

Fix float display

Jaime Marquínez Ferrándiz 12 years ago
parent
commit
633f6f9b39
2 changed files with 6 additions and 1 deletions
  1. 1 1
      index.php
  2. 5 0
      style.css

+ 1 - 1
index.php

@@ -24,7 +24,7 @@ echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl.exe">youtu
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
 echo '<a href="downloads/' . htmlspecialchars($latest) . '/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
 echo '</div>';
 echo '</div>';
 
 
-echo '<ul>';
+echo '<ul class="all-versions">';
 foreach ($versions as $version) {
 foreach ($versions as $version) {
     echo '<li><a href="downloads/' . htmlspecialchars($version) . '">' . htmlspecialchars($version) . '</a></li>';
     echo '<li><a href="downloads/' . htmlspecialchars($version) . '">' . htmlspecialchars($version) . '</a></li>';
 }
 }

+ 5 - 0
style.css

@@ -73,6 +73,7 @@ hr {
 	margin-top: 10ex;
 	margin-top: 10ex;
 	text-align: center;
 	text-align: center;
 	font-size: x-small;
 	font-size: x-small;
+	clear: both;
 }
 }
 h1 {
 h1 {
 	font-size: x-large;
 	font-size: x-large;
@@ -145,3 +146,7 @@ tt {
     background-color: #448888;
     background-color: #448888;
     border: 2px solid #008888;
     border: 2px solid #008888;
 }
 }
+
+.all-versions {
+	float: left;
+}