[Typo3] Templavoila changes html-input
Mikkel Nielsen
mikkel at t48.dk
Wed Aug 10 12:07:51 CEST 2005
Hi all.
When i tyr to make a template with Templavoila, my html file gets
changes when i preview it i the wizard. It removes some <tr> and one
</table> witch causes my latyot to totaly mess up. What it's wrong??
MY INPUT
-----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>NAL-MedieNet.dk</title>
<style>
td {
font-family: verdana, helvetica;
font-size: 10pt;
}
input {
font-family: verdana, helvetica;
font-size: 8pt;
border: 0px;
}
.menu-td {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
}
.menu-link {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
text-decoration: none;
}
.footer {
font-family: verdana, helvetica;
font-size: 8pt;
color: #ffffff;
}
.intro-headline {
font-family: verdana, helvetica;
font-size: 30pt;
color: #ffffff;
}
.intro-subheadline {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
}
.forside-headline {
font-family: verdana, helvetica;
font-size: 10pt;
font-weight: bold;
color: #009999;
}
.forside-tekst {
font-family: verdana, helvetica;
font-size: 10pt;
color: #000000;
}
.forside-link {
font-family: verdana, helvetica;
font-size: 10pt;
text-decoration: none;
color: #000000;
}
.forside-pil-link {
font-family: verdana, helvetica;
font-size: 10pt;
text-decoration: none;
color: #009999;
}
</style>
</head>
<body bgcolor="009999">
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td valign="top">
<table border="0" width="100%" height="100%" cellspacing="0"
cellpadding="1">
<tr>
<td bgcolor="#ffffff" colspan="2"><img src="images/top-logo.gif"
alt=""></td>
</tr>
<tr>
<td bgcolor="#009999" class="menu-td">
<a href="" class="menu-link">TV/RADIO</a> |
<a href="" class="menu-link">INTERNET</a> |
<a href="" class="menu-link">TELEFONI</a> |
<a href="" class="menu-link">NYHEDER</a> |
<a href="" class="menu-link">OM NAL</a></td>
<td bgcolor="#009999" class="menu-td" align="right"
style="padding-right: 10;"><input type="text"> SØG</td>
</tr>
<tr>
<td colspan="2" background="images/forside-bg.jpg" height="243"
valign="bottom" style="padding: 0;">
<table border="0" width="730" cellspacing="0" cellpadding="0">
<tr>
<td background="images/forside-bg-overlay.jpg" width="730"
height="150" style="padding: 10;"><div class="intro-headline">'Mellem'
TV-pakke<br>pr. mdr. kun ca. <b>145,-</b></div><div
class="intro-subheadline">DR1, DR2, TV2 ZULU, TV3, CNN, DISCOVERY, VIVA,
CARTOON NETWORK, EUROSPORT, TV3+, TCM, TV DANMARK, RTL, SAT1, ARD, PRO7,
TV4, NDR, TV5, RAI UNO</div></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" style="padding: 0;">
<table border="0" cellspacing="0"
bgcolor="#ffffff" width="100%" height="150"><!-- Height er lig med
tekstfelts højde -->
<tr>
<td style="padding: 10;"><div
class="forside-headline">Overskrift</div><div
class="forside-tekst">Noget tekst i den ene side</div></td>
<td style="padding: 10;"><div
class="forside-headline">Overskrift</div><div
class="forside-tekst">Noget andet tekst her</div></td>
<td style="padding: 10;"><a href=""
class="forside-link">Link til noget<a href="" class="forside-pil-link">
--></a></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" valign="bottom" style="padding: 0;">
<table border="0" cellpadding="0" cellspacing="0"
width="100%">
<tr>
<td bgcolor="#009999" height="62" align="center"
class="footer">Næsby Antennelaug | Søren Eriksens Vej 15 | 5270 Odense N
| www.nal-medienet.dk | info at nal-medienet.dk</td>
<td bgcolor="#ffffff" height="62"
width="190"><img src="images/prik-logo.gif" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td><img src="images/skygge-hojre.jpg" alt="" height="560" width="8"></td>
</tr>
<tr>
<td><img src="images/skygge-bund.jpg" alt="" width="875" height="10"></td>
<td><img src="images/skygge-hjorne.jpg" alt=""></td>
</tr>
</table>
</body>
</html>
OUTPUT FROM TEMPLAVOILA
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>NAL-MedieNet.dk</title>
<style>
td {
font-family: verdana, helvetica;
font-size: 10pt;
}
input {
font-family: verdana, helvetica;
font-size: 8pt;
border: 0px;
}
.menu-td {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
}
.menu-link {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
text-decoration: none;
}
.footer {
font-family: verdana, helvetica;
font-size: 8pt;
color: #ffffff;
}
.intro-headline {
font-family: verdana, helvetica;
font-size: 30pt;
color: #ffffff;
}
.intro-subheadline {
font-family: verdana, helvetica;
font-size: 10pt;
color: #ffffff;
}
.forside-headline {
font-family: verdana, helvetica;
font-size: 10pt;
font-weight: bold;
color: #009999;
}
.forside-tekst {
font-family: verdana, helvetica;
font-size: 10pt;
color: #000000;
}
.forside-link {
font-family: verdana, helvetica;
font-size: 10pt;
text-decoration: none;
color: #000000;
}
.forside-pil-link {
font-family: verdana, helvetica;
font-size: 10pt;
text-decoration: none;
color: #009999;
}
</style>
</head>
<body bgcolor="009999">
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td valign="top">
<table border="0" width="100%" height="100%"
cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#ffffff" colspan="2"><img
src="images/top-logo.gif" alt=""></td>
</tr>
<tr>
<td bgcolor="#009999" class="menu-td">[Menu goes
here]</td>
<td bgcolor="#009999" class="menu-td" align="right"
style="padding-right: 10;"><input type="text"> SØG</td>
</tr>
<tr>
<td colspan="2" background="images/forside-bg.jpg"
height="243" valign="bottom" style="padding: 0;">
<table border="0" width="730" cellspacing="0"
cellpadding="0">
<tr>
<td
background="images/forside-bg-overlay.jpg" width="730" height="150"
style="padding: 10;">Lorem ipsum dolor sit amet, consectetuer adipiscing
elit. Pellentesque porta erat vitae nisl. In hac habitasse platea
dictumst. Aliquam ac urna. Morbi magna mauris, semper ut, varius in,
convallis vitae, nulla. Proin massa lorem, mollis eget, rutrum vitae,
commodo id, risus. Curabitur scelerisque risus eget odio. Proin laoreet
blandit elit. Aenean varius, sapien laoreet dapibus volutpat, risus
lorem ornare wisi, lobortis venenatis nisl augue sed purus. Nam suscipit
viverra justo. Suspendisse tincidunt. Nullam vel quam.</td></tr>
</table>
</td>
</tr>
</table>
<tr>
<td colspan="2" style="padding: 0;">
<table border="0" cellspacing="0"
bgcolor="#ffffff" width="100%" height="150"><!-- Height er lig med
tekstfelts højde -->
<tr>
<td style="padding: 10;"><div
class="forside-headline">Overskrift</div><div
class="forside-tekst">Noget tekst i den ene side</div></td>
<td style="padding: 10;"><div
class="forside-headline">Overskrift</div><div
class="forside-tekst">Noget andet tekst her</div></td>
<td style="padding: 10;"><a href=""
class="forside-link">Link til noget<a href="" class="forside-pil-link">
--></a></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" valign="bottom" style="padding: 0;">
<table border="0" cellpadding="0"
cellspacing="0" width="100%">
<tr>
<td bgcolor="#009999" height="62"
align="center" class="footer">Næsby Antennelaug | Søren Eriksens Vej 15
| 5270 Odense N | www.nal-medienet.dk | info at nal-medienet.dk</td>
<td bgcolor="#ffffff" height="62"
width="190"><img src="images/prik-logo.gif" alt=""></td>
</tr>
</table>
</td>
</tr>
</td>
</tr>
<td><img src="images/skygge-hojre.jpg" alt="" height="560"
width="8"></td>
</table>
<tr>
<td><img src="images/skygge-bund.jpg" alt="" width="875"
height="10"></td>
<td><img src="images/skygge-hjorne.jpg" alt=""></td>
</tr>
</body>
</html>
More information about the TYPO3-english
mailing list