Welcome visitor
* Login
* Register
It is currently March 18th, 2019, 3:24 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  pre tag width
PostPosted: July 22nd, 2009, 3:14 pm 

Posts: 31
How can i use the <pre> tag and at the same time keep the text under certain width? Because right now it scroll way to the right and that's not working.

If you have any solution i'll be glad to hear it. Thank you.


Top
 Profile  
 
  Re: pre tag width
PostPosted: July 22nd, 2009, 4:50 pm 
User avatar

Posts: 86
You cant. The only thing you can do is either hide the excesive text or show scrollbars to see all the content:
<pre style="width: 50%; overflow: auto">

or
<pre style="width: 50%; overflow: hidden">

Hth


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


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 post attachments in this forum

Search for:
Jump to:  
cron