Hallo zusammen,
ich bin neu hier und hab mehr oder weniger keine Ahnung vom Programmieren. Ich hab mir einfach den code zusammengesucht und ein bisschen rumprobiert. An einem Punkt hängt es aber bei mir. Ich bekomm den Text (siehe Bild im Anhang) nicht links ausgerichtet unter die Überschrift. Hab es schon verzweifelt versucht und ich denke es ist sehr simpel, allerdings bekomm ich es nicht hin.
Schon mal danke im Vorraus für euer Feedback!
HTML-Code:
<script type="text/javascript">
//<![CDATA[
function swap(openlink,closelink, linkid, dataid)
{
if( document.getElementById(dataid).style.display == 'none')
{
document.getElementById(dataid).style.display='inline';
document.getElementById(linkid).firstChild.nodeValue=closelink;
} else
{
document.getElementById(dataid).style.display='none';
document.getElementById(linkid).firstChild.nodeValue=openlink;
}
}
//]]>
</script>
<table class="tab24" align="left" border="0" cellpadding="0" cellspacing="0" width="80%">
<tr bgcolor="#EEEEEE">
<td width="10%" height="35" style="padding-left:5px; padding-right:10px;">
</td>
<td width="34%" align="left">
<font color="#8D2A39" size="+1">1. "I don`t speak German."</font>
</td>
<td align="right" width="33%" style="padding-left:15px; padding-right:15px;">
<a href="#swap" onclick="javascript:swap('show','hide', 'swaplink', 'hideme')" id="swaplink" onfocus="this.blur()" name="swaplink">show</a>
</td>
</tr>
<tr style=" text-align: justify; font-size: 16px; font-weight: normal; background-color: #F5ECCE;">
<td colspan="3" style="padding-left:15px; padding-right:15px;">
<div id="hideme" style="display:none">
<br />
<div align="center">
</div>
<p>
TEST
</p>
</div>
</td>
</tr>
</table>