HTML Ersetzung:
Code: Alles auswählen
<div style="margin:20px; margin-top:5px">
<div style="font: 11px Verdana, Geneva, Lucida, 'Lucida Grande'; margin-bottom:2px"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div style="min-height: 20px; background-color: #EDE8E0; margin: 0px; padding: 6px; border: 1px inset; display: none;">{TEXT}</div></div>
Beim verfassen schreibe ich direkt unter dem spoiler einen text welcher dann nach dem absenden 3 zeilen tiefer unter dem spoiler angezeigt wird.
Hoffe ihr versteht was ich meine.
Wie bekommt man diese spale weg ??
Danke schonmal.
Lg Nadine