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 { ...@@ -573,3 +573,6 @@ input.required, select.required, span.required_explanation {
form th { form th {
text-align: right; text-align: right;
} }
th.left {
text-align: left;
}
\ No newline at end of file
...@@ -12,8 +12,8 @@ ...@@ -12,8 +12,8 @@
<table border=1 cellpadding=4 cellspacing=0> <table border=1 cellpadding=4 cellspacing=0>
<tr bgcolor="#6666ff"> <tr bgcolor="#6666ff">
<th valign="top" align="left">Part</th> <th valign="top" class="left">Part</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr><tr> </tr><tr>
<td valign="top">Classification:</td> <td valign="top">Classification:</td>
......
...@@ -24,8 +24,8 @@ from '[% product.name FILTER html %]' product ...@@ -24,8 +24,8 @@ from '[% product.name FILTER html %]' product
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Component:</td> <td valign="top">Component:</td>
......
...@@ -25,8 +25,8 @@ ...@@ -25,8 +25,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Custom Field:</td> <td valign="top">Custom Field:</td>
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Field Name:</td> <td valign="top">Field Name:</td>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<table border="0" cellpadding="4" cellspacing="0"> <table border="0" cellpadding="4" cellspacing="0">
<tr> <tr>
<th valign="top" align="right"> <th valign="top">
<label for="value_new">Field Value:</label> <label for="value_new">Field Value:</label>
</th> </th>
<td> <td>
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Milestone:</td> <td valign="top">Milestone:</td>
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
[% IF Param('useclassification') %] [% IF Param('useclassification') %]
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
[% FOREACH c = columns %] [% FOREACH c = columns %]
[%# Default to align left for headers %] [%# 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 %] [% c.heading FILTER html %]
</th> </th>
[% END %] [% END %]
......
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Version:</td> <td valign="top">Version:</td>
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
<table border="1" cellpadding="4" cellspacing="0"> <table border="1" cellpadding="4" cellspacing="0">
<tr bgcolor="#6666FF"> <tr bgcolor="#6666FF">
<th valign="top" align="left">Field</th> <th valign="top" class="left">Field</th>
<th valign="top" align="left">Value</th> <th valign="top" class="left">Value</th>
</tr> </tr>
<tr> <tr>
<td valign="top">Attachment ID:</td> <td valign="top">Attachment ID:</td>
......
...@@ -41,7 +41,7 @@ incremental_restore() ...@@ -41,7 +41,7 @@ incremental_restore()
[% section_num = section_num + 1 %] [% section_num = section_num + 1 %]
<tr><th colspan="4" class="section_head"> <tr><th colspan="4" class="section_head">
<table id="[% file.filename FILTER html %]_sec[% section_num %]" cellpadding="0" cellspacing="0"> <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 %] [% IF file.is_add %]
Added Added
[% ELSIF file.is_remove %] [% ELSIF file.is_remove %]
......
...@@ -44,7 +44,7 @@ function toggle_display(link) { ...@@ -44,7 +44,7 @@ function toggle_display(link) {
<br> <br>
<table id="attachment_table" cellspacing="0" cellpadding="4"> <table id="attachment_table" cellspacing="0" cellpadding="4">
<tr id="a0"> <tr id="a0">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left"> <th colspan="[% show_attachment_flags ? 3 : 2 %]" class="left">
Attachments Attachments
</th> </th>
</tr> </tr>
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
[% FOREACH c = classifications %] [% FOREACH c = classifications %]
[% IF c.object %] [% IF c.object %]
<tr> <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> [%+ c.object.description FILTER html_light %]</th>
</tr> </tr>
[% END %] [% 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