Commit 57125490 authored by tmaruyama's avatar tmaruyama

Replace tables that were using the 'width' attribute with inline styles...

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: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 927f74ee
......@@ -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;">
<td style="width:<%= subject_width %>px; padding:0px;">
......@@ -167,7 +167,7 @@ if >= @gantt.date_from and <= @gantt.date_to %>
<table width="100%">
<table style="width:100%">
<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>
<table width="100%">
<table style="width:100%">
......@@ -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>
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