Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-12-2006, 03:03 AM   #1 (permalink)
 
Ultra Techie

Join Date: Sep 2005

Posts: 638

tommyboy123x is on a distinguished road

Send a message via AIM to tommyboy123x
Default HTML Double Space?

EDIT: I got it to double space and do whatever kind of spacing i want (via CSS, p {line-height: .73775em;}), however i need it to keep the formatting.

Something like the PRE tag would be perfect, however that seems to be double spacing (with no hope of fixing), the converted text.

So basically what the script does is take the text, change the font (through a form), and then echo it back with that differet font.

But i need to keep the original formatting....

Tom

EDIT EDIT: YES got it working - it was just a matter of putting the P tag inside of the PRE tag... i had it the other way around
__________________

Some real (as in actual) surveys that pay money!
tommyboy123x is offline  
Old 12-12-2006, 11:46 AM   #2 (permalink)
office politics's Avatar
 
It's all just 1s and 0s

Join Date: Jan 2004

Location: in the lab

Posts: 4,410

office politics will become famous soon enough

Default

can we see an example?
office politics is offline  
Old 12-13-2006, 10:19 PM   #3 (permalink)
 
Ultra Techie

Join Date: Sep 2005

Posts: 638

tommyboy123x is on a distinguished road

Send a message via AIM to tommyboy123x
Default

yea sure...

PHP Code:
.....
<
style type="text/css"
{line-height.73775em;} //THIS IS THE SPACING
</style
</
head>
........
echo 
'<pre>';
echo 
'

'
;
**************
put your text here
**************
echo 
'</p>';
echo 
'</pre>';
.... 

__________________

Some real (as in actual) surveys that pay money!
tommyboy123x is offline  
 
Closed Thread

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On