[SOLVED] DIV inside TinyMCE - or horizontal lines in content
Posted: Tue Nov 24, 2009 8:55 pm
Hi all,
I wanted to put a horizontal ruler inside content.
Since is reserved for accessability I copied the code in the stylesheet:
div.horlin {
height: 2px;
padding: 1em;
border-bottom: 2px solid #DDD;
margin: 1em;
}
and added in NON-wysiwyg
If I save this I can se the line, BUT . . .If I try to edit the page again the code
"" is no longer visible
making it hard to get a good layout.
How does one solve this?
Well I made a user defined tag called "horiline" put the following php-code in it
echo "";
and use {horiline} which works perfect.
Thanks,
Jan
I wanted to put a horizontal ruler inside content.
Since is reserved for accessability I copied the code in the stylesheet:
div.horlin {
height: 2px;
padding: 1em;
border-bottom: 2px solid #DDD;
margin: 1em;
}
and added in NON-wysiwyg
If I save this I can se the line, BUT . . .If I try to edit the page again the code
"" is no longer visible
making it hard to get a good layout.
How does one solve this?
Well I made a user defined tag called "horiline" put the following php-code in it
echo "";
and use {horiline} which works perfect.
Thanks,
Jan