/[groff]/groff/src/devices/grohtml/html-table.cpp
ViewVC logotype

Diff of /groff/src/devices/grohtml/html-table.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by wl, Tue Oct 12 21:39:31 2004 UTC revision 1.3 by wl, Tue Nov 23 09:20:48 2004 UTC
# Line 332  void html_table::emit_table_header (int Line 332  void html_table::emit_table_header (int
332    
333    last_col = NULL;    last_col = NULL;
334    if (linelength > 0) {    if (linelength > 0) {
     int n = no_columns() + no_gaps();  
   
335      out->nl();      out->nl();
336      out->nl();      out->nl();
337    
# Line 345  void html_table::emit_table_header (int Line 343  void html_table::emit_table_header (int
343      start_space = space;      start_space = space;
344      out->put_string("<table width=\"100%\"")      out->put_string("<table width=\"100%\"")
345        .put_string(" border=0 rules=\"none\" frame=\"void\"\n")        .put_string(" border=0 rules=\"none\" frame=\"void\"\n")
346        .put_string("       cols=\"")        .put_string("       cellspacing=\"0\" cellpadding=\"0\"")
       .put_number(n)  
       .put_string("\" cellspacing=\"0\" cellpadding=\"0\"")  
347        .put_string(start_space ? " style=\"margin-top: 8px; margin-bottom: 8px\"" : "")        .put_string(start_space ? " style=\"margin-top: 8px; margin-bottom: 8px\"" : "")
348        .put_string(">")        .put_string(">")
349        .nl();        .nl();

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26