Solved

script help needed

Posted on 1998-07-01
5
209 Views
Last Modified: 2010-03-04
I have the following code inside a postcard script that was given to me, I want the text to come up against a white background, perhaps inside a table w/ a white background. Could you modify this part of the code so it will do that? Thanks in advance!

    print "<b>If the postcard is the way you want it, press the send button.</b>\n";
    print "<b>If you need to make changes, use the back button on your browser.</b>\n";
    print "<b>Please wait a few seconds for the postcard to be sent. Pressing the button more than once</b>\n";
    print "<b>will send additional postcards. During periods of high usage, the system may be</b>\n";
    print "<b>slower than usual. Thanks.</b><br><br>\n\n";
0
Comment
Question by:timshank
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 1208263
#this is more of an HTML wuestion than a Perl question
print '<TABLE><TR><TD BGCOLOR="white"><FONT COLOR="black">';
    print "<b>If the postcard is the way you want it, press the send button.</b>\n";
    print "<b>If you need to make changes, use the back button on your browser.</b>\n";
    print "<b>Please wait a few seconds for the postcard to be sent. Pressing the button more than
   once</b>\n";
    print "<b>will send additional postcards. During periods of high usage, the system may
   be</b>\n";
    print "<b>slower than usual. Thanks.</b><br><br>\n\n";
print '</FONT></TD></TR></TABLE>';
0
 
LVL 2

Accepted Solution

by:
tpryor earned 20 total points
ID: 1208264
add this to the top...
<TABLE BORDER="3" CELLSPACING="2" CELLPADDING="1"
BGCOLOR "#FFFFFF"> <TR> <TD>

and this to the bottom of what you got...

</TD></TR></TABLE>

GL,
t
0
 

Author Comment

by:timshank
ID: 1208265
Thank you, I'll try it, I understand the html but I didn't know how to express it inside a perl script.. this is all a learning process for me
0
 

Author Comment

by:timshank
ID: 1208266
thanks, piece of cake
0
 
LVL 84

Expert Comment

by:ozo
ID: 1208267
You can find documentation on the print function in
perldoc perlfunc
and documentation on string quoting operators in
perldoc perlop
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question