anchor.diff:                        <div class="w3c_explanation"><%= error.explanation.strip %></div>
                       <% end %>
                     </div>
  -                </li>
  -              <% end %>
  -              </ul>
  -
  -              <ul class="page_warnings">
  -              <% page.warnings.sort_by {|w| w.line.to_i}.each do |warning| %>
  -                <li>
  -                  <span class="label warning">WARNING</span>
  -                  <strong><%= CGI::escapeHTML(warning.text.capitalize) %></strong>)
  -
  -                  <div class="details"  id="details_<%= warning.object_id %>">
  +
  +                <% end %>
  +              </div>
  +
  +              <div class="accordion">
  +                <% page.warnings.sort_by {|w| w.line.to_i}.each do |warning| %>
  +                  <h3>
  +                    <span class="label warning">WARNING</span>
  +                    <%= CGI::escapeHTML(warning.text.capitalize) %>
  +                  </h3>
  +
  +                  <div>
                       <% if warning.line %>
                         <span class="coordinates label">
                           LINE <%= warning.line %>
  
positive.code:                       <div class="w3c_explanation"><%= warning.explanation.strip %></div>
                      <% end %>
                    </div>
                  </li>
                <% end %>
                </ul>
              </div>
            <% end %>
          <% end %>
  
negative.code:                 <span class="label warning"><%= "#{page.warnings.length} warnings" %></span>
                </h3>
  
                <div class="accordion">
                  <% page.errors.sort_by {|e| e.line.to_i}.each do |error| %>
                    <h3>
                      <span class="label important">ERROR</span>
                      <%= CGI::escapeHTML(error.text.capitalize) %>
                    </h3>
  
                    <div>
                      <% if error.line %>
                        <span class="coordinates label">
                          LINE <%= error.line %>
  