Commit 56dc0a41 authored by Christopher Trom's avatar Christopher Trom Committed by Simon Green

Bug 547311 - Remove the "align" attribute from <th>

r=simon, a=sgreen
parent 27bb0580
......@@ -573,3 +573,6 @@ input.required, select.required, span.required_explanation {
form th {
text-align: right;
}
th.left {
text-align: left;
}
\ No newline at end of file
......@@ -12,8 +12,8 @@
<table border=1 cellpadding=4 cellspacing=0>
<tr bgcolor="#6666ff">
<th valign="top" align="left">Part</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Part</th>
<th valign="top" class="left">Value</th>
</tr><tr>
<td valign="top">Classification:</td>
......
......@@ -24,8 +24,8 @@ from '[% product.name FILTER html %]' product
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Component:</td>
......
......@@ -25,8 +25,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Custom Field:</td>
......
......@@ -24,8 +24,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Field Name:</td>
......
......@@ -23,7 +23,7 @@
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<th valign="top" align="right">
<th valign="top">
<label for="value_new">Field Value:</label>
</th>
<td>
......
......@@ -23,8 +23,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Milestone:</td>
......
......@@ -26,8 +26,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
[% IF Param('useclassification') %]
......
......@@ -71,7 +71,7 @@
<tr bgcolor="#6666FF">
[% FOREACH c = columns %]
[%# Default to align left for headers %]
<th align="[% (c.align || 'left') FILTER html %]">
<th style="text-align:[% (c.align || 'left') FILTER html %];">
[% c.heading FILTER html %]
</th>
[% END %]
......
......@@ -23,8 +23,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Version:</td>
......
......@@ -22,8 +22,8 @@
<table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th>
<th valign="top" align="left">Value</th>
<th valign="top" class="left">Field</th>
<th valign="top" class="left">Value</th>
</tr>
<tr>
<td valign="top">Attachment ID:</td>
......
......@@ -41,7 +41,7 @@ incremental_restore()
[% section_num = section_num + 1 %]
<tr><th colspan="4" class="section_head">
<table id="[% file.filename FILTER html %]_sec[% section_num %]" cellpadding="0" cellspacing="0">
<tr><th width="95%" align="left">
<tr><th width="95%" class="left">
[% IF file.is_add %]
Added
[% ELSIF file.is_remove %]
......
......@@ -44,7 +44,7 @@ function toggle_display(link) {
<br>
<table id="attachment_table" cellspacing="0" cellpadding="4">
<tr id="a0">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" class="left">
Attachments
</th>
</tr>
......
......@@ -37,7 +37,7 @@
[% FOREACH c = classifications %]
[% IF c.object %]
<tr>
<th colspan="2" align="left">[% c.object.name FILTER html %]:
<th colspan="2" class="left">[% c.object.name FILTER html %]:
[%+ c.object.description FILTER html_light %]</th>
</tr>
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment