Ok... Another tidbit of information that may shed some light on this.
I changed my script to read as follows:
Note that both $body and $body2 are short strings of three chars each. It seems that adding the $body2 into the printed html code makes it so the styles don't display as well. *scratches head* Perhaps the problem is something else and not just long strings?#!/usr/local/bin/perl print "Content-type: text/html\n\n"; my $body = "123"; my $length = length($body); my $body2 = "abc"; my $length2 = length($body2); print<<bob; <html> <head> <!-- Style Sheet Here --> <link href="./training_site.css" rel="stylesheet" type="text/css"> <title></title> </head> <body> <p class="bodytext">Body variable *$body* has $length chars</p> <p class="bodytext">Body variable *$body2* has $length2 chars</p> </body> </html> bob
In reply to Re: Style Sheet Doesn't Display Styles
by JaredHess
in thread Style Sheet Doesn't Display Styles
by JaredHess
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |