summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2001-11-18 07:25:15 +0100
committerjustdave%syndicomm.com <>2001-11-18 07:25:15 +0100
commitaf3616c5931f8174ea740c6ebc630e248324ca68 (patch)
tree5bcb021de29a04e61295436cc45a6ae95bc4a63b /template
parent4a6aa8a0eff81fc226e27ae02938da246d2f7a10 (diff)
downloadbugzilla-af3616c5931f8174ea740c6ebc630e248324ca68.tar.gz
bugzilla-af3616c5931f8174ea740c6ebc630e248324ca68.tar.xz
Fix for bug 107120: templates/default/global/header was generating HTML that wouldn't validate as HTML 4.01 Transitional
Patch by Dave Miller <justdave@syndicomm.com> r= jake, bbaetz
Diffstat (limited to 'template')
-rwxr-xr-xtemplate/default/global/header12
1 files changed, 6 insertions, 6 deletions
diff --git a/template/default/global/header b/template/default/global/header
index 676b7ddf4..7e9565c45 100755
--- a/template/default/global/header
+++ b/template/default/global/header
@@ -7,7 +7,7 @@
style = ""
message = ""
%]
-
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>[% title %]</title>
@@ -17,14 +17,14 @@
[% style %]
</style>
</head>
- <body [% Param('bodyhtml') %] [% extra %]>
+ <body [% Param('bodyhtml') %][% " " %][% extra %]>
[% PerformSubsts(Param('bannerhtml')) %]
[% IF h1 || h2 %]
- <table border="0" cellspacing="0" width="100%">
+ <table border="0" cellspacing="0">
<tr>
- <td width="10%" valign="top" align="left">
+ <td valign="top" align="left">
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td valign="top" align="left" nowrap>
@@ -33,8 +33,8 @@
</tr>
</table>
</td>
- <td valign="center">&nbsp;</td>
- <td valign="center" align="left">[% h2 %]</td>
+ <td valign="middle">&nbsp;</td>
+ <td valign="middle" align="left">[% h2 %]</td>
</tr>
</table>
[% END %]