HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Preformatted text effecting I/E display
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML
View previous topic :: View next topic  
Author Message
Bogeyplay



Joined: 27 Oct 2004
Posts: 1
Location: California

PostPosted: Wed Oct 27, 2004 11:00 am     Preformatted text effecting I/E display Reply with quote

Currently, I have table that displays data extracted from a database with the following code snipet:
****
<align="left"><font face=arial size=2><b>Date Resolved: $(REPLACE,$25,NULL," ")<b><br>
<align="left"><font face=arial size=2><b>Case Status: $10</font></b><br>
<align="left"><font face=arial size=2><b>Product: $(TRIM,$5) $6</font></b><br>
<align="left"><font face=arial size=2><b>Platform: $(TRIM,$12) $13</font></b><br>

<table width="100%">
<tr><td align="left"><font face=arial size="2"><pre width="5">$23</pre></font></td>
</TR>
</table>
<hr><br>
***

Since I am assigning the font style to be Arial and size to be 2, in the earlier table cells, I want my preformatted text to be Arial and Size 2 also. However, the preformatting works relating to carriage returns and new paragraphs, but shrinks to less than arial-2. I have up'd the fontsize to 2.5 and it still looks bad. However, when copying the text to a mail program or word, the font comes out as Ariel 10.

Is there some other tag of function that I can use that would give me better font display in HTML without every user changing their I/E font assigments ?

Thanks

Bogey
nagasree



Joined: 21 Sep 2004
Posts: 82
Location: Hyderabad, India

PostPosted: Fri Oct 29, 2004 12:54 am     Reply with quote

Have the font tag within pre tag
Code:

<align="left"><font face=arial size=2><b>Date Resolved: $(REPLACE,$25,NULL," ")<b><br>
<align="left"><font face=arial size=2><b>Case Status: $10</font></b><br>
<align="left"><font face=arial size=2><b>Product: $(TRIM,$5) $6</font></b><br>
<align="left"><font face=arial size=2><b>Platform: $(TRIM,$12) $13</font></b><br>

<table width="100%">
<tr><td align="left"><pre width="5"><font face=arial size="2">$23</font></pre></td>
</TR>
</table><hr><br>


-Nagasree
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial