You are not logged in.
Hi,
It's very easy to reproduce my problem:
In a Xinha Editor go in html mode and paste this html code:
<html>
<head>
<style type='text/css'>
.cadre
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #000000;
border-color: #FF7200;
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
}
</style>
</head>
<body>
<table class='cadre'>
<tr>
<td>
lorem
</td>
</tr>
<tr>
<td >
ipsum
</td>
</tr>
</table>
</body>
</html>
Now come back in wysiwyg mode. The style is not applied.
So when you come a second time in html mode, the style declaration has been stripped by Xinha like that:
<table class="cadre">
<tbody>
<tr>
<td>lorem</td>
</tr>
<tr>
<td>ipsum</td>
</tr>
</tbody>
</table>
I'm using Xinha 0.931 with IE7.
My WebSite is not online so you can't see it.
However, this problem is reproductible on the Xinha Demo site : http://xinha.raimundmeyer.de/x_examples … ample.html
What's my error?
So if it's not a bug is there a mean to apply a style to my html code?
I'm using Xinha editor to write html newsletter which are sent by e-mail.
So when users from my mailing list receive the mail they should see an html mail using style.
Style declarations are not the same for each newsletter.
An other Xinha User seems to encountered that problem at http://xinha.gogo.co.nz/punbb/viewtopic.php?id=1099
So his style declaration was not between <HEAD> markup. That's not my case.
Have I to create a new ticket?
Best regards.
Last edited by steph48 (2007-08-02 03:34:14)
Offline
Hi,
It's very easy to reproduce my problem:
Hi,
it's also very easy to solve
By default, Xinha only edits the body part of the page. Please set
xinha_config.fullPage = true;
in your config
Offline
Hi,
It's OK, the problem is solved, thanks a lot!!!!
It's real that it was really easy to solve... before your response I began to modify XinhaCore.....
I'm sorry but I didn't seen that information in Xinha doc...
I hope this post will be usefull for other users.
Bye
Offline