Changeset 11144 for trunk/gsdl


Ignore:
Timestamp:
2006-01-27T14:48:52+13:00 (18 years ago)
Author:
jrm21
Message:

put the output document text in its own div, and give it some CSS to make
sure it is shown underneath any floating divs instead of next to them.

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/images/style.css

    r11133 r11144  
    135135  padding-top: 5px;
    136136}
     137div.documenttext { clear: both; } /* come after any floating divs */
    137138
    138139div.warning { /* eg expanding more than 10 sections in table of contents */
  • trunk/gsdl/src/recpt/documentaction.cpp

    r11112 r11144  
    11491149  }
    11501150   
     1151  textout << outconvert << "<div class=\"documenttext\">\n";
     1152
    11511153  if (get_info (OID, collection, args["l"], metadata, getParents, collectproto, inforesponse, logout)) {
    11521154    int hastxt = inforesponse.docInfo[0].metadata["hastxt"].values[0].getint();
     
    11571159           OID, highlight, hastxt, wanttext, collection, collectproto,
    11581160           browsers, disp, outconvert, textout, logout, args);
    1159 
    11601161
    11611162    } else {
     
    12231224    }
    12241225  }
     1226  textout << outconvert << "</div>\n";
    12251227  delete formatlistptr;
    12261228}
Note: See TracChangeset for help on using the changeset viewer.