svn: /web/qa/trunk/ include/functions.php styles.css
| From: | Olivier DOUCET | Date: | Tue, 17 May 2011 20:06:25 +0000 |
| Subject: | svn: /web/qa/trunk/ include/functions.php styles.css | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-65790@lists.php.net to get a copy of this message | ||
odoucet Tue, 17 May 2011 20:06:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311146
Log:
Make QA website HTML 4.0 transitional valid (validator.w3.org)
Changed paths:
U web/qa/trunk/include/functions.php
U web/qa/trunk/styles.css
Modified: web/qa/trunk/include/functions.php
===================================================================
--- web/qa/trunk/include/functions.php 2011-05-17 19:04:50 UTC (rev 311145)
+++ web/qa/trunk/include/functions.php 2011-05-17 20:06:25 UTC (rev 311146)
@@ -17,16 +17,16 @@
<link rel="stylesheet" href="/styles.css" type="text/css">
</head>
-<body bgcolor="#ffffff" text="#000000" link="#000000"
vlink="#000000" alink="#000000" topmargin="0" leftmargin="0"
marginheight="0" marginwidth="0">
+<body bgcolor="#ffffff" text="#000000" link="#000000"
vlink="#000000" alink="#000000">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
- <td bgcolor="#ffcc66"><img src="/gfx/spacer.gif"
width="5" height="1">
- <a href="http://qa.php.net/"><img
src="/gfx/logo_qa.jpg" width="111" height="58"
border="0"></a></td>
+ <td bgcolor="#ffcc66"><img src="/gfx/spacer.gif"
width="5" height="1" alt="">
+ <a href="http://qa.php.net/"><img
src="/gfx/logo_qa.jpg" width="111" height="58" border="0"
alt="QA logo"></a></td>
<td bgcolor="#ffcc66" align="right" valign="bottom">
- <table border="0" cellspacing="0" cellpadding="0"
height="70">
+ <table border="0" cellspacing="0" cellpadding="0"
style="height:70px">
<tr>
<td align="right" valign="top"
class="headline_white"><?php echo date("l, F d, Y"); ?></td>
- <td align="right" valign="top"
class="headline_white"><img src="/gfx/spacer.gif" width="5"
height="1"></td>
+ <td align="right" valign="top"
class="headline_white"><img src="/gfx/spacer.gif" width="5"
height="1" alt=""></td>
</tr>
<tr>
<td valign="bottom" align="right"><a href="/"
class="head_links">Home</a>
@@ -42,17 +42,17 @@
</td>
</tr>
<tr>
- <td colspan="2" bgcolor="#000000" height="1"><img
src="/gfx/spacer.gif" width="1" height="1"
border="0"></td>
+ <td colspan="2" bgcolor="#000000" height="1"><img
alt="" src="/gfx/spacer.gif" width="1" height="1"
border="0"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#ff9900" align="right"
class="head_links"> </td>
</tr>
<tr>
- <td colspan="2" bgcolor="#000000" height="1"><img
src="/gfx/spacer.gif" width="1" height="1"></td>
+ <td colspan="2" bgcolor="#000000" height="1"><img
alt="" src="/gfx/spacer.gif" width="1"
height="1"></td>
</tr>
</table>
-<table width="100%" border="0" cellspacing="0"
cellpadding="0" height="70%">
+<table width="100%" border="0" cellspacing="0"
cellpadding="0" style="height:70%">
<tr>
<td width="200" bgcolor="#eeeeee" align="center"
valign="top">
<table width="95%" border="0" cellspacing="0"
cellpadding="0">
@@ -111,8 +111,8 @@
</td>
</tr>
</table>
- <img src="/gfx/spacer.gif" width="1"
height="20"></td>
- <td background="/gfx/line_1.jpg" width="1"><img
src="/gfx/spacer.gif" width="1" height="1"><br>
+ <img alt="" src="/gfx/spacer.gif" width="1"
height="20"></td>
+ <td style="background:url(/gfx/line_1.jpg); width: 1px;"><img
alt="" src="/gfx/spacer.gif" width="1"
height="1"><br>
</td>
<td align="left" valign="top" bgcolor="#FFFFFF"> <br>
<?php
@@ -124,16 +124,16 @@
</table>
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
- <td bgcolor="#000000"><img src="/gfx/spacer.gif"
width="1" height="1"></td>
+ <td bgcolor="#000000"><img alt="" src="/gfx/spacer.gif"
width="1" height="1"></td>
</tr>
<tr>
<td bgcolor="#ff9900"> </td>
</tr>
<tr>
- <td bgcolor="#000000"><img src="/gfx/spacer.gif"
width="1" height="1"></td>
+ <td bgcolor="#000000"><img alt="" src="/gfx/spacer.gif"
width="1" height="1"></td>
</tr>
</table>
-<table width="100%" border="0" cellspacing="0"
cellpadding="0" height="60">
+<table width="100%" border="0" cellspacing="0"
cellpadding="0" style="height:60px">
<tr valign="middle">
<td bgcolor="#cccccc" align="left" width="100%">
<table border="0" cellspacing="0" cellpadding="0">
@@ -147,7 +147,7 @@
</td>
<td bgcolor="#cccccc" nowrap align="right"
class="footer">Last
update: <?php echo $GLOBALS["SITE_UPDATE"]; ?></td>
- <td bgcolor="#cccccc" nowrap align="right"
class="footer"><img src="/gfx/spacer.gif" width="10"
height="1"></td>
+ <td bgcolor="#cccccc" nowrap align="right"
class="footer"><img alt="" src="/gfx/spacer.gif"
width="10" height="1"></td>
</tr>
</table>
</body>
@@ -162,4 +162,4 @@
$buffer .= "</a>";
return $buffer;
}
-?>
+?>
\ No newline at end of file
Modified: web/qa/trunk/styles.css
===================================================================
--- web/qa/trunk/styles.css 2011-05-17 19:04:50 UTC (rev 311145)
+++ web/qa/trunk/styles.css 2011-05-17 20:06:25 UTC (rev 311146)
@@ -1,3 +1,6 @@
+body {
+ margin: 0;
+}
body, ul, th, p, dd, dt {
font-family: Arial, Helvetica, sans-serif;
font-size: 11pt;
@@ -111,4 +114,4 @@
.anchor {
float: right;
-}
+}
\ No newline at end of file