| Author |
Use of pre tag avoids word wrapping
|
Periakaruppan Thiagarajan
Ranch Hand
Joined: Jul 26, 2005
Posts: 65
|
|
Hi, I have used the pre tag to display dynamic content in pre-formatted text. But this avoids word wrapping which leads to horizontal scroll bar appearing in the screen. Is any other way to avoid this? Thanks, Pk
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
because that is what the pre tag does! Look into CSS with word wrap and try setting a width. Eric
|
 |
 |
|
|
subject: Use of pre tag avoids word wrapping
|
|
|