[xiph-commits] r13499 - websites/validator.xspf.org
sping at svn.xiph.org
sping at svn.xiph.org
Thu Aug 9 13:38:04 PDT 2007
Author: sping
Date: 2007-08-09 13:38:04 -0700 (Thu, 09 Aug 2007)
New Revision: 13499
Modified:
websites/validator.xspf.org/.htaccess
websites/validator.xspf.org/check.py
Log:
Restore old look
Modified: websites/validator.xspf.org/.htaccess
===================================================================
--- websites/validator.xspf.org/.htaccess 2007-08-09 20:11:48 UTC (rev 13498)
+++ websites/validator.xspf.org/.htaccess 2007-08-09 20:38:04 UTC (rev 13499)
@@ -1,7 +1,6 @@
# Use mod_rewrite to enable execution of python script
<IfModule mod_rewrite.c>
RewriteEngine On
- RewriteBase /
RewriteRule ^referrer/?(.*) /$1
RewriteRule ^$ check.py [L]
</IfModule>
Modified: websites/validator.xspf.org/check.py
===================================================================
--- websites/validator.xspf.org/check.py 2007-08-09 20:11:48 UTC (rev 13498)
+++ websites/validator.xspf.org/check.py 2007-08-09 20:38:04 UTC (rev 13499)
@@ -6,6 +6,10 @@
#
# NOTE: Python 2.4 or later required for current line attribute of Expat parser
#
+# 2007-08-09 // Sebastian Pipping <webmaster at hartwork.org>
+# * Fixed: Ivo's changes repaired to have same look again
+# I use tables when pixel-exact layout is need since
+# CSS support in browsers is not good enough yet
# 2007-07-30
# * Some HTML and CSS fixes by Ivo Emanuel Gonçalves <justivo at gmail.com>
# (probably should remove those bloody tables, but I can't see
@@ -42,12 +46,10 @@
print """
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>XSPF Validator — Validate your playlists</title>
- <style type="text/html">
+ <style type="text/css">
body {
background-color:rgb(230,230,230);
margin:0;
@@ -154,7 +156,7 @@
</head>
<body>
<!-- CENTERING -->
- <table style="width:100%;">
+ <table height="100%" style="width:100%">
<tr>
<td align="center" valign="middle" style="padding:10px">
<!-- BORDER -->"""
@@ -1092,7 +1094,7 @@
</tr>
<tr>
<td align="center" style="padding-left:6px; padding-right:6px;">
- <table cellpadding="0" cellspacing="0" style="width:100%;" height="1" style="background-color:rgb(180,180,180);">
+ <table cellpadding="0" cellspacing="0" height="1" style="width:100%; background-color:rgb(180,180,180);">
<tr>
<td style="font-size:1px; line-height:1px;"> </td>
</tr>
More information about the commits
mailing list