tensh |
|
---|---|
Hmm, it didn't help: if the message is short, the div reaches only a part of iframe. I digged into the problem deeper: an iframe is considered a separate html page. The whole css stylesheet must be different from the one used on a site, or the iframe must have "body" tags that can have a css class assigned. So not a div, but a body with css class.
echo $style.'<body class="preview">'.sed_post_parse(sed_parse($text)).'</body>'; Now it works. ![]() |