summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:03:05 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-24 00:03:05 +0000
commite2bb8721d9e0b41094f7a7c768951235492dc3e4 (patch)
treeef48d4e165c15eda180bf3cd1fb2bd1e1b80345a
parent103cd46f781489bd804b93bbceecaee2f9993678 (diff)
downloadredmine-e2bb8721d9e0b41094f7a7c768951235492dc3e4.tar.gz
redmine-e2bb8721d9e0b41094f7a7c768951235492dc3e4.zip
Replace tables that were using the 'width' attribute with inline styles (should be replaced with an ID/class).
Contributed by Andrew Smith. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9253 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/gantts/show.html.erb4
-rw-r--r--app/views/queries/_filters.html.erb2
-rw-r--r--public/help/wiki_syntax.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 66890b123..0b4af3523 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -63,7 +63,7 @@ t_height = g_height + headers_height
<p class="warning"><%= l(:notice_gantt_chart_truncated, :max => @gantt.max_rows) %></p>
<% end %>
-<table width="100%" style="border:0; border-collapse: collapse;">
+<table style="width:100%; border:0; border-collapse: collapse;">
<tr>
<td style="width:<%= subject_width %>px; padding:0px;">
@@ -167,7 +167,7 @@ if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %>
</tr>
</table>
-<table width="100%">
+<table style="width:100%">
<tr>
<td align="left"><%= link_to_content_update("\xc2\xab " + l(:label_previous), params.merge(@gantt.params_previous)) %></td>
<td align="right"><%= link_to_content_update(l(:label_next) + " \xc2\xbb", params.merge(@gantt.params_next)) %></td>
diff --git a/app/views/queries/_filters.html.erb b/app/views/queries/_filters.html.erb
index ae9bdd070..ff84d8544 100644
--- a/app/views/queries/_filters.html.erb
+++ b/app/views/queries/_filters.html.erb
@@ -1,4 +1,4 @@
-<table width="100%">
+<table style="width:100%">
<tr>
<td>
<table>
diff --git a/public/help/wiki_syntax.html b/public/help/wiki_syntax.html
index 6886f3407..a92720b4d 100644
--- a/public/help/wiki_syntax.html
+++ b/public/help/wiki_syntax.html
@@ -20,7 +20,7 @@ table td h3 { font-size: 1.2em; text-align: left; }
<h1>Wiki Syntax Quick Reference</h1>
-<table width="100%">
+<table style="width:100%">
<tr><th colspan="3">Font Styles</th></tr>
<tr><th><img src="../images/jstoolbar/bt_strong.png" style="border: 1px solid #bbb;" alt="Strong" /></th><td width="50%">*Strong*</td><td width="50%"><strong>Strong</strong></td></tr>
<tr><th><img src="../images/jstoolbar/bt_em.png" style="border: 1px solid #bbb;" alt="Italic" /></th><td>_Italic_</td><td><em>Italic</em></td></tr>