Current location: Hot Scripts Forums » Programming Languages » PHP » Readfile Font Size


Readfile Font Size

Reply
  #1 (permalink)  
Old 11-09-07, 04:14 PM
ChrisXPPro ChrisXPPro is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Wilsonville Oregon
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Readfile Font Size

(ok, im student in high school learning php)

I have a website set up to read a file, but how do i change the font size for the text?

<?
readfile("importd.txt");
?>

: thats how its set up right now. and when executed it uses the font size default for my site. i want it smaller.

Thanks In Advance
Reply With Quote
  #2 (permalink)  
Old 11-09-07, 04:19 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
With HTML actually.
PHP Code:

<span style="font-size: 10px;">
<?
readfile
("importd.txt");
?>
</span>
Reply With Quote
  #3 (permalink)  
Old 11-09-07, 04:22 PM
ChrisXPPro ChrisXPPro is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Wilsonville Oregon
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
i tryed that and its still isnt working...

Last edited by ChrisXPPro; 11-09-07 at 04:22 PM. Reason: grammer
Reply With Quote
  #4 (permalink)  
Old 11-09-07, 04:24 PM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
What's the content of the text file?
Reply With Quote
  #5 (permalink)  
Old 11-09-07, 04:25 PM
ChrisXPPro ChrisXPPro is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Wilsonville Oregon
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
content as follows:

11/10/07 - FIRST Fest
12/01/07 - Team Get-together
Reply With Quote
  #6 (permalink)  
Old 11-09-07, 04:35 PM
ChrisXPPro ChrisXPPro is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Wilsonville Oregon
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
this is the code thats in the table
Code:
<td colspan="2" valign="bottom" bgcolor="#000000"><div align="left"> 
<span class="style16">Important Dates!</span><br/>
     <span style="font-size: 10px;">
		<?
		readfile("importd.txt");
		?>
	</span>	 
    <br />
	      <br />
	  </div></td>
Reply With Quote
  #7 (permalink)  
Old 11-09-07, 05:15 PM
ChrisXPPro ChrisXPPro is offline
Newbie Coder
 
Join Date: Nov 2007
Location: Wilsonville Oregon
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I Got It.
I Made the file that it was to read all html. and it worked.

Thank You For Your Efforts. =-]
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a script that will allow users to change the font size AND family AshleyQuick Script Requests 1 03-18-07 01:35 PM
font size question martin_ua ASP.NET 6 01-07-06 10:28 PM
Font Size Scaling / AutoScale mike_wilson Windows .NET Programming 0 05-13-05 10:33 AM
gd font size limit? jasong PHP 2 06-06-04 02:58 PM
font size on IE resize b0yakk HTML/XHTML/XML 7 02-22-04 11:20 AM


All times are GMT -5. The time now is 07:32 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.