]> source.dussan.org Git - redmine.git/commitdiff
Replace tables that were using the 'width' attribute with inline styles (should be...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:03:05 +0000 (00:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 24 Mar 2012 00:03:05 +0000 (00:03 +0000)
Contributed by Andrew Smith.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9253 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/gantts/show.html.erb
app/views/queries/_filters.html.erb
public/help/wiki_syntax.html

index 66890b1232eb92fa4d3141950245f5ab9459d691..0b4af3523be75c8a2257a638891aabfec5028bd7 100644 (file)
@@ -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>
index ae9bdd0702f37fe1969c4969f8a902f20314f5e0..ff84d854437e3c4117de758f9ae8f11c64d5d607 100644 (file)
@@ -1,4 +1,4 @@
-<table width="100%">
+<table style="width:100%">
 <tr>
 <td>
 <table>
index 6886f3407ed39526fefce7f25102650fb641ef84..a92720b4de0b8b736047e0bca6f10a78b079d670 100644 (file)
@@ -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>