My programmer left me the fckeditor to input text into a template. The editor unfortunately strips out the css & html headers leaving a plain text result (not good).
All I'm left with is the parent table (no css, no body tags, no html declarations.
How can I prevent this from happening?
newbie michael
this is my original template:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Attract More Green</title>
{literal}
<style type="text/css">
<!--
a:link {color: #000}
a:visited {color: #000}
a:hover {color: #999}
a:active {color: #000}
.headline {
font-family: Verdana, Geneva, sans-serif;
font-size: 52px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #000;
text-decoration: none;
}
.subhead {
font-family: Verdana, Geneva, sans-serif;
font-size: 24px;
font-weight: bold;
color: #000;
text-decoration: none;
}
.body {
font-family: Verdana, Geneva, sans-serif;
font-size: 14px;
font-weight: normal;
color: #000;
text-decoration: none;
}
.headline2 {
font-family: Verdana, Geneva, sans-serif;
font-size: 42px;
font-weight: bold;
color: #000;
text-decoration: none;
}
.img-shadow {
float:inherit;
background: url(/community/addons/islandtickle/images/flyer_pages/images/shadow.png) no-repeat bottom right !important;
margin: 0px 0 0 -10 !important;
}
.img-shadow img {
display: block;
position: relative;
background-color: #FFFFFF;
border: 1px solid #bdbdbd;
margin: 0px 0px 0px 20px;
padding: 0px;
}
-->
</style>
{/literal}
</head>
<body>
<table width="612" border="1" align="center" cellpadding="0" cellspacing="0" background="addons/islandtickle/images/flyer_pages/images/background.jpg" repeat="no">
<tr>
<td width="612" height="750" align="center" valign="middle"><table width="575" border="0" cellspacing="0" cellpadding="5">
<tr>
<td align="center" valign="middle" class="headline"><p>Attract More Green</p></td>
</tr>
<tr>
<td align="center" valign="top">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div class="img-shadow"><img src="/community/{$flyer_image_1}" alt="" width="250" height="249" /><br style="clear: both;" /></div></td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" align="center" valign="middle" class="headline2">Use a square image (250x249) above</td>
</tr>
<tr>
<td height="50" align="center" valign="middle" class="subhead">All Flyers Post FREE<br />
For The First Two Months!</td>
</tr>
<tr>
<td height="75" align="center" valign="middle" class="body">Feature yor services & products, accept payments, orders, deposits and reservations all directly through your ad or flyer! Buy, sell, barter, or auction your goods and goodies online. Post your ad, upload your flyer - and you're in business now with your own "mini-on-line store".</td>
</tr>
<tr>
<td height="50" align="center" valign="middle" class="subhead"><a href="#">FlyersReservationsList@MaiuTickle.com</a></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
Sun, 05/17/2009 - 03:36
#1
Re: Basic editor (2.6x) stripping out my needed css & html
& I did remove the comment tags around the css
I wonder what I could try next?
thanks for reading
michael
Re: Basic editor (2.6x) stripping out my needed css & html
thanks,
michael