in reply to Re: Background color for a cgi textarea
in thread Background color for a cgi textarea
of course you need a separate css-file:#!/usr/bin/perl use strict; use warnings; use CGI; my $q = new CGI; print $q->start_html( -title=>'Your page', -style=>{'src'=>'/css/default.css'}, ); # # yada yada yada # print $q->textarea( -name => "bar", -class => "inked" ); print "\n";
.inked { background: #E0E0F0; border-width: 1px; border-style: solid; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Background color for a cgi textarea
by BUU (Prior) on Mar 26, 2004 at 21:46 UTC |