Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: cgi application & global style sheet

by arcnon (Monk)
on Mar 02, 2006 at 19:48 UTC ( [id://534027]=note: print w/replies, xml ) Need Help??


in reply to Re: cgi application & global style sheet
in thread cgi application & global style sheet

your example creates 2 headers
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U +S"> <head> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="/styles/print.css" rel="s +tylesheet" media="all"/> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1 +" /> </head> <body> <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Maintain Users</title> </head> <body>

Replies are listed 'Best First'.
Re^3: cgi application & global style sheet
by rhesa (Vicar) on Mar 02, 2006 at 20:42 UTC
    only if you already generated one in your run mode, and you didn't say you did. either way, i don't think you should be using CGI for generating html, but instead start looking at using templates. See HTML::Template or the Template Toolkit for that.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://534027]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found