BeLakor
19-08-2010, 19:47
Ciao a tutti.
Ho un file html che vorrei si vedesse così una volta importato in Word:
http://img138.imageshack.us/img138/9814/provanuovastampafronteq.th.jpg (http://img138.imageshack.us/i/provanuovastampafronteq.jpg/)
Il file html che ho provato a creare contiene questo codice:
<html>
<head>
<title>Stampa fronte quadro</title>
</head>
<body background="images/oemb/cartiglio_elettrico.bmp">
<div style="position:absolute; top:300px; left:150px">
<img src="images/oemb/709CT_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG01_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG05_title.png" width="200px" heigth="37px">
<img src="images/oemb/TG705_title.png" width="200px" heigth="37px">
</div>
<div style="position:absolute; top:140px; left:50px">
<img src="images/oemb/709CT.png" width="200px" heigth="630px">
<img src="images/oemb/MAG01.png" width="200px" heigth="630px">
<img src="images/oemb/MAG05.png" width="200px" heigth="630px">
<img src="images/oemb/TG705.png" width="200px" heigth="630px">
</div>
<br><div style="position:right bottom">Pag. 1/2</div><br>
</body>
</html>
il problema è che Word, sembra non leggere lo style applicato al div con la position top e left.
Provando a sostituire i div con style con un semplice <center> e un paio di <br> la situazione migliora, ma le immagini non restano allineate in alto, ma in basso.
<html>
<head>
<title>Stampa fronte quadro</title>
</head>
<body background="images/oemb/cartiglio_elettrico.bmp">
<br><br>
<center>
<img src="images/oemb/709CT_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG01_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG05_title.png" width="200px" heigth="37px">
<img src="images/oemb/TG705_title.png" width="200px" heigth="37px">
<br>
<img src="images/oemb/709CT.png" width="200px" heigth="630px">
<img src="images/oemb/MAG01.png" width="200px" heigth="630px">
<img src="images/oemb/MAG05.png" width="200px" heigth="630px">
<img src="images/oemb/TG705.png" width="200px" heigth="630px">
</center>
<br><div style="position:right bottom">Pag. 1/2</div>
</body>
</html>
http://img814.imageshack.us/img814/9859/prova22222.th.png (http://img814.imageshack.us/i/prova22222.png/)
Ora....come posso fare? Qualcuno di voi conosce una soluzione?
BeLakor
Ho un file html che vorrei si vedesse così una volta importato in Word:
http://img138.imageshack.us/img138/9814/provanuovastampafronteq.th.jpg (http://img138.imageshack.us/i/provanuovastampafronteq.jpg/)
Il file html che ho provato a creare contiene questo codice:
<html>
<head>
<title>Stampa fronte quadro</title>
</head>
<body background="images/oemb/cartiglio_elettrico.bmp">
<div style="position:absolute; top:300px; left:150px">
<img src="images/oemb/709CT_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG01_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG05_title.png" width="200px" heigth="37px">
<img src="images/oemb/TG705_title.png" width="200px" heigth="37px">
</div>
<div style="position:absolute; top:140px; left:50px">
<img src="images/oemb/709CT.png" width="200px" heigth="630px">
<img src="images/oemb/MAG01.png" width="200px" heigth="630px">
<img src="images/oemb/MAG05.png" width="200px" heigth="630px">
<img src="images/oemb/TG705.png" width="200px" heigth="630px">
</div>
<br><div style="position:right bottom">Pag. 1/2</div><br>
</body>
</html>
il problema è che Word, sembra non leggere lo style applicato al div con la position top e left.
Provando a sostituire i div con style con un semplice <center> e un paio di <br> la situazione migliora, ma le immagini non restano allineate in alto, ma in basso.
<html>
<head>
<title>Stampa fronte quadro</title>
</head>
<body background="images/oemb/cartiglio_elettrico.bmp">
<br><br>
<center>
<img src="images/oemb/709CT_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG01_title.png" width="200px" heigth="37px">
<img src="images/oemb/MAG05_title.png" width="200px" heigth="37px">
<img src="images/oemb/TG705_title.png" width="200px" heigth="37px">
<br>
<img src="images/oemb/709CT.png" width="200px" heigth="630px">
<img src="images/oemb/MAG01.png" width="200px" heigth="630px">
<img src="images/oemb/MAG05.png" width="200px" heigth="630px">
<img src="images/oemb/TG705.png" width="200px" heigth="630px">
</center>
<br><div style="position:right bottom">Pag. 1/2</div>
</body>
</html>
http://img814.imageshack.us/img814/9859/prova22222.th.png (http://img814.imageshack.us/i/prova22222.png/)
Ora....come posso fare? Qualcuno di voi conosce una soluzione?
BeLakor