PDA

View Full Version : Coding Help...


fishbone34
02-21-2005, 05:03 PM
Hello, I have a form result page that pulls data from a database. I used the </Pre> tags to load the preformatted format on the page. The only problem is that the text is too small. Is there a way to enlarge the text on the form result page or does it need to be entered in to the database the size I need?

Below is a Sample of the code:


<tr><td><font size="2" face="Arial"><B>Comments:</B></font></td><td><font size="3" face="Arial"><pre><%response.write(tablearray(12,0))%></pre></td></tr>
</table> </center>

jaywhy13
02-23-2005, 04:20 AM
Hello, I have a form result page that pulls data from a database. I used the </Pre> tags to load the preformatted format on the page. The only problem is that the text is too small. Is there a way to enlarge the text on the form result page or does it need to be entered in to the database the size I need?

Below is a Sample of the code:


<tr><td><font size="2" face="Arial"><B>Comments:</B></font></td><td><font size="3" face="Arial"><pre><%response.write(tablearray(12,0))%></pre></td></tr>
</table> </center>


I've had my experience with the "<pre>" and let me tell you they are COMPLETE HEAD-ACHES to deal with... Why not use a replace method. Say Replace(yourText,vbNewLine,"<br>") or Replace(yourText," ","&nbsp") or once of those methods?