M
malatinszky
I am using the standard CGI module to output a HTML document. I would
like the <body> tag of the HTML doc to have a style attribute, like
this:
<body style="margin-left:5px;">
My thought was to writ
print $q->start_html(-style=>"margin-left:5px;");
but if I do that, what I get is
<link rel="stylesheet" type="text/css" href="margin-left:5px;" />
because -style is used as a shortcut to attach a style sheet.
How do I do this right?
Thanks,
Andras Malatinszky
like the <body> tag of the HTML doc to have a style attribute, like
this:
<body style="margin-left:5px;">
My thought was to writ
print $q->start_html(-style=>"margin-left:5px;");
but if I do that, what I get is
<link rel="stylesheet" type="text/css" href="margin-left:5px;" />
because -style is used as a shortcut to attach a style sheet.
How do I do this right?
Thanks,
Andras Malatinszky