Thread Ausgabe in vordefinierte Stylesheet Bereiche (14 answers)
Opened by a_abels at 2011-10-28 15:37

GwenDragon
 2011-10-28 17:11
#153641 #153641
User since
2005-01-17
14538 Artikel
Admin1
[Homepage]
user image
Schau mal:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
~ # perl -MCGI
print CGI::start_html(-style=>{-code=>'a{color:red}'});
^D
<!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-US">
<head>
<title>Untitled Document</title>
<style type="text/css">
<!--/* <![CDATA[ *
a{color:red}

/* ]]> */-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>

Siehst du den Unterschied?
Nicht -src sondern -code für Inline-CSS.
Last edited: 2011-10-28 17:13:20 +0200 (CEST)
die Drachin, Gwendolyn


Unterschiedliche Perl-Versionen auf Windows (fast wie perlbrew) • Meine Perl-Artikel

View full thread Ausgabe in vordefinierte Stylesheet Bereiche