mittels Textparser hole ich die „Idee des Tages“ vom grossen C.
nun möchte ich das Bild skallieren, hab aber keine Ahnung wie?
So ist die Variable beschrieben:
<div id="mainwrap">
<div id="eyecatcher">
<style>
body {
font-family: Arial, Verdana;
background-repeat: repeat-y;
padding: 0;
margin: 0;
}
a {
color:#FFF;
}
h1 a {
text-decoration: none;
color: #3b5998;
}
h1 a:hover {
text-decoration: underline;
}
img {
border: 0;
}
#app_box {
width: 600px;
background-repeat: no-repeat;
}
#content {
padding-left: 0px;
padding-top: 5px;
background-image:url(http://web.conrad.ch/facebook/ideedestages/images/bg_sonder_de.gif);
}
.headline {
padding: 4px 7px;
background-color: #000;
font-size: 14px;
font-weight: bold;
color: #ffe600;
margin-top: 60px;
}
.headline2 {
color: #000;
font-size: 20px;
font-weight: bold;
position: absolute;
padding-left: 32px;
margin-top: 140px;
position: absolute;
}
.arrow {
padding: 7px 30px;
font-size: 12px;
font-weight: bold;
color: black;
background-image:url(http://web.conrad.ch/facebook/ideedestages/images/arrow.png);
background-repeat:no-repeat;
background-position:right top;
position: absolute;
height: 25px;
}
.likes {
left: 400px;
position: absolute;
text-align: right;
top: 28px;
width: 150px;
color: #FFF;
text-decoration: none;
}
.languages {
left: 320px;
position: absolute;
text-align: right;
top: 25px;
width: 70px;
color: #000;
text-decoration: none;
font-size: 12px;
}
</style>
<script language="JavaScript" src="functions_de.js"></script>
<script language="JavaScript" type="text/javascript">
// Ziel-Datum in MEZ
var jahr=2012, monat=0, tag=6, stunde=0, minute=0, sekunde=0;
var zielDatum=new Date(jahr,monat,tag,stunde,minute,sekunde);
</script>
<div id="app_box">
<div id="content" style="width:624px; height:380px;">
<div id="timer" style="z-index:10; width:110px; height:111px; font-size: 11px; font-weight:bold; color: #fff; font-family: Arial; position:absolute; margin-top:10px; margin-left:480px; text-align: center; padding-top:33px;">
Nur noch<br />
</div>
<div>
<div style="padding-left:200px; float:left; width:450px; margin-top:40px; position:absolute; z-index:1;">
<a href="http://web.conrad.ch/startseite/redirect.php?url=www1.conrad.ch/scripts/wgate/zcop_&article=560503" style="color:#000; text-decoration:none;">
<img src="http://web.conrad.ch/facebook/ideedestages/images/idt/560503.png" border="0" style="z-index:1;" /></a>
</div>
<div class="headline2" style="z-index:2;">Jetzt wird es warm</div>
<div class="arrow" style="margin-top: 175px; z-index:3;">Wartungsfreies Heizgerät mit stufenlosem Thermostat </div> <div class="arrow" style="margin-top: 210px; z-index:3;">3 Schaltstufen: 800/1200/2000 W</div> <div class="arrow" style="margin-top: 245px; z-index:3;">Integrierte Tages-Zeitschaltuhr</div> <div class="price" style="width: 600px; float:left; margin-left:40px; margin-top:305px; position:absolute; z-index:10;">
<a href="http://web.conrad.ch/startseite/redirect.php?url=www1.conrad.ch/scripts/wgate/zcop_&article=560503" style="color:#000; text-decoration:none;">
<img src="http://web.conrad.ch/facebook/ideedestages/images/button_sonder_de.gif" border="0" style="float:right; margin-top:20px; margin-right:25px;" /></a>
<div class="only_today" style="background-color: #fff; padding: 5px 10px; width: 65px; float:left; margin-top: 20px; z-index:15; font-size:11px;">
Nur heute<br />
Statt 99.95 </div>
<img src="http://web.conrad.ch/facebook/ideedestages/images/price/49.95.png" border="0" style="margin-left: -15px; margin-top: -10px;" />
</div>
</div>
</div>
</div>
<div style="clear:both;"> </div>
</div>
<div id="services">
die Ausgabe ist angehängt.