Commit:    290e707093c134324a215b73e91a35c9e4078d6f
Author:    Sobak <msobaczew...@gmail.com>         Thu, 13 Mar 2014 07:29:58 
+0100
Parents:   01316745ec086cc3f59573460a97455d487a36fb
Branches:  master

Link:       
http://git.php.net/?p=web/news.git;a=commitdiff;h=290e707093c134324a215b73e91a35c9e4078d6f

Log:
Get rid of awful spacer hack

Changed paths:
  M  common.php
  D  i/g.gif
  M  style.css


Diff:
diff --git a/common.php b/common.php
index 88ff233..a3ab38c 100644
--- a/common.php
+++ b/common.php
@@ -45,8 +45,8 @@ function head($title="PHP news") {
   <link rel="stylesheet" href="/style.css" type="text/css" />
  </head>
  <body>
-  <table width="100%" border="0" cellspacing="0" cellpadding="0">
-   <tr class="header">
+  <table width="100%" border="0" cellspacing="0" cellpadding="0" 
class="header">
+   <tr>
     <td>
      <a href="/index.php"><img src="/i/l.gif" width="120" height="67" 
alt="PHP" /></a>
     </td>
@@ -54,11 +54,6 @@ function head($title="PHP news") {
      PHP.net <a href="news://<?php echo $_SERVER['HTTP_HOST']; ?>/" 
class="top">news server</a> web interface
     </td>
    </tr>
-   <tr class="subheader">
-    <td colspan="2">
-     <img src="/i/g.gif" width="1" height="1" alt="" />
-    </td>
-   </tr>
   </table>
 <?php
 }
diff --git a/i/g.gif b/i/g.gif
deleted file mode 100644
index 93d554f..0000000
Binary files a/i/g.gif and /dev/null differ
diff --git a/style.css b/style.css
index 9fc2988..d486373 100644
--- a/style.css
+++ b/style.css
@@ -82,13 +82,9 @@ a.top {
        text-decoration: none;
 }
 
-tr.header {
+table.header {
     background: #99C;
-}
-
-tr.subheader {
-    background: #669;
-    height: 2px;
+       border-bottom: 17px solid #669;
 }
 
 .small {


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to