in reply to Re: HTML and CGI coding
in thread HTML and CGI coding

Hey, I modified my code to look like this.
({-align => "CENTER", -valign=>"TOP", -BGCOLOR=>"blue", -"font-color +"=> "yellow", -"FONT-FAMILY"=> "verdana,arial,helvetica", -"FONT-SIZE +"=> "12"},
I also have "use strict" at the top of my script. I run the script, no errors but none of the font formats appear.

Replies are listed 'Best First'.
Re: Re: Re: HTML and CGI coding
by davis (Vicar) on Dec 09, 2002 at 12:37 UTC

    Ignoring HTML validity for a moment:

    ({"-align" => "CENTER", "-valign" => "TOP", "-BGCOLOR" => "blue", "-font-color" => "yellow", "-FONT-FAMILY" => "verdana,arial,helvetica", "-FONT-SIZE" => "12"})

    is probably more helpful. Hint: Keep quoting (and most other syntax) consistent, and it's easier to debug

    cheers
    davis
    Is this going out live?
    No, Homer, very few cartoons are broadcast live - it's a terrible strain on the animator's wrist

    Update: Sheesh. Two instances of the word "probably" in one sentence? Yuck.