Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cgi word wrap 1

Status
Not open for further replies.

bluedragon2

IS-IT--Management
Jan 24, 2003
2,642
US
I am creating a 20 text line web page. Is it possible if the browser window is shrunk the text will not wrap?

Thanks

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Are you saying if the browser window shrinks that you do or you don't want it to wrap?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
whether it wraps will be a function of widths of the various containers it resides in, be they td's or div's, if they have an absolute width, they won't wrap past that

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I do not want the text to wrap. My print statement is:

print "<FONT color=black><tt><U>| $bits[1] | $bits[2] $bits[3] | $bits[4] | $bits[0] |</tt></U></FONT>\n";



[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
I put a <TABLE><TR><TD NOWRAP> in and it works like a charm...

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
bluedragon,

keep in mind most issues of formatting what gets displyed in a browser is not a perl/cgi issue but an html markup issue. All perl can do is add the correct markup tags/attributes.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
You should also look into using CSS for your html formatting needs.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Thanks Kevin

[Blue]Blue[/Blue] [Dragon]

If I wasn't Blue, I would just be a Dragon...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top