Re: Adding CSS to a CGI script
[email protected] (vendion) Mon, 17 Nov 2008 05:09:04 -0800 (PST)
| Newsgroups | perl.beginners.cgi |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <02c6c2ea-79d1-4a01-bc35-510d1a60be12@g17g2000prg.googlegroups.com> |
On Nov 8, 12:35 pm, [email protected] (Bill Stephenson) wrote: > On Nov 8, 2008, at 10:39 AM, Adam Jimerson wrote: > > > start_html > > This is from the CGI docs: > > print start_html(-title=>'Secrets of the Pyramids', > -author=>'[email protected]', > -base=>'true', > -target=>'_blank', > -meta=>{'keywords'=>'pharaoh secret mummy', > 'copyright'=>'copyright 1996 King > Tut'}, > -style=>{'src'=>'/styles/style1.css'}, > -BGCOLOR=>'blue'); > > http://search.cpan.org/~lds/CGI.pm-3.33/ > CGI.pm#CREATING_THE_HTML_DOCUMENT_HEADER > > Here's more on CSS with CGI.pm > > http://search.cpan.org/~lds/CGI.pm-3.33/ > CGI.pm#LIMITED_SUPPORT_FOR_CASCADING_STYLE_SHEETS > > Kindest Regards, > > -- > Bill Stephenson > ezInvoice.com So is "print h1({-class=>'Fancy'},'Welcome to the Party');" the same as <div class="Fancy">, and if so then is it possible to do a <div id="SomeValue">?