Aber ich moechte die news banner nicht links haben sondern im Center...
So habe ich es probiert..
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div> <strong>{datum}</strong> <hr style="height: 0px; border: dotted #000000 0px; border-top-width: 1px; " /> </div> <div style="float:left; width:20%; text-align:center; " align="center">{kate}</div> <div style="float:left; width:80%; padding-top:25px; "> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="cbg1"> <tr> <td><strong><center><a href="index.php?news-{id}"></center><center>{title}</center></a></strong></td> </tr> <tr> <td class="smalfont"></td> </tr> </table> </div><br style="clear:both; " /> <div> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><center>{text}</center></td> </tr> <tr> <td width="50%"><a href="index.php?news-{id}"><right>{kom} {_if_{kom}=='1'}{_lang_comment}{_else_}{_lang_comments}{/_endif} </right></a></td> <td width="50%"> <div align="center">{readwholenews}</div> </td> </tr> </table> </div> <br/> {like_button} <br /> <br /> {EXPLODE} <br /> <br /><center>{SITELINK}</center> {EXPLODE} <!-- News Kommentare und Mehr lesen --> <table class="border" width="100%" cellpadding="5" cellspacing="1" border="0"> <tr class="Chead"> <th height="25"><b>{NAME}</b></th> </tr> <tr> <td height="25" class="Cdark">{_lang_message}</td> </tr> <tr> <td class="Cnorm"> <center><div style="float:center; ">{KATE}</div></center> <div style="float:left; padding-center:10px; ">{TEXT}</div><br style="clear:both; " /> <p></p> <a href="index.php?news"><b>«</b> {_lang_back}</a> </td> </tr> <tr> <td height="25" class="Cmite">{_lang_commentsfor} {NAME}</td> </tr> <tr> <td class="Cnorm"> {EXPLODE} <form action="index.php?news-{NID}" method="POST"> <fieldset> <legend>{_lang_writecomment}</legend> <input type="text" name="name" value="{uname}" /> {ANTISPAM} <input type="submit" value="{_lang_enter}"><br /> <textarea style="width: 98%" cols="50" rows="2" name="txt"></textarea><br /> </fieldset> </form> <br /> {EXPLODE} <span class="Cmite"># <b>{ZAHL}</b> von {NAME}</span> <br />{TEXT}<br /><br /> {EXPLODE} <br /> <a href="index.php?news"><b>«</b> {_lang_back}</a> </td> </tr> </table> {EXPLODE} <table width="100%" border="0" cellspacing="0" cellpadding="5" class="rand"> <tr class="mite"> <td width="65%"><b>{NAME}</b></td> <td width="15%">{FUER}</td> <td width="20%" align="right">{DATE}</td> </tr><tr class="norm"> <td valign="top" colspan="2">{TEXT}{MEHR}</td> <td valign="top" rowspan="2" align="center">{KATE}</td> </tr><tr class="norm"> <td valign="bottom" height="20" colspan="2" align="center"> <b>{_lang_from} {UNAME}</b> [ {KOM} <a href="index.php?news-1&nid={ID}">{_lang_comments}</a> ] </td> </tr> </table>
Doch leider klappt das nicht.
Hier ist der original code
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div> <strong>{datum}</strong> <hr style="height: 0px; border: dotted #000000 0px; border-top-width: 1px; " /> </div> <div style="float:left; width:20%; text-align:center; ">{kate}</div> <div style="float:left; width:80%; padding-top:25px; "> <table width="100%" border="0" align="center" cellpadding="1" cellspacing="0" class="cbg1"> <tr> <td><strong><a href="index.php?news-{id}">{title}</a></strong></td> </tr> <tr> <td class="smalfont">{_lang_from} {username}</td> </tr> </table> </div><br style="clear:both; " /> <div> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2">{text}</td> </tr> <tr> <td width="50%"><a href="index.php?news-{id}">{kom} {_if_{kom}=='1'}{_lang_comment}{_else_}{_lang_comments}{/_endif} </a></td> <td width="50%"> <div align="right">{readwholenews}</div> </td> </tr> </table> </div> <br/> {like_button} <br /> <br /> {EXPLODE} <br /> <br /><center>{SITELINK}</center> {EXPLODE} <!-- News Kommentare und Mehr lesen --> <table class="border" width="100%" cellpadding="5" cellspacing="1" border="0"> <tr class="Chead"> <th height="25"><b>{NAME}</b></th> </tr> <tr> <td height="25" class="Cdark">{_lang_message}</td> </tr> <tr> <td class="Cnorm"> <div style="float:left; ">{KATE}</div> <div style="float:left; padding-left:10px; ">{TEXT}</div><br style="clear:both; " /> <p></p> <a href="index.php?news"><b>«</b> {_lang_back}</a> </td> </tr> <tr> <td height="25" class="Cmite">{_lang_commentsfor} {NAME}</td> </tr> <tr> <td class="Cnorm"> {EXPLODE} <form action="index.php?news-{NID}" method="POST"> <fieldset> <legend>{_lang_writecomment}</legend> <input type="text" name="name" value="{uname}" /> {ANTISPAM} <input type="submit" value="{_lang_enter}"><br /> <textarea style="width: 98%" cols="50" rows="2" name="txt"></textarea><br /> </fieldset> </form> <br /> {EXPLODE} <span class="Cmite"># <b>{ZAHL}</b> von {NAME}</span> <br />{TEXT}<br /><br /> {EXPLODE} <br /> <a href="index.php?news"><b>«</b> {_lang_back}</a> </td> </tr> </table> {EXPLODE} <table width="100%" border="0" cellspacing="0" cellpadding="5" class="rand"> <tr class="mite"> <td width="65%"><b>{NAME}</b></td> <td width="15%">{FUER}</td> <td width="20%" align="right">{DATE}</td> </tr><tr class="norm"> <td valign="top" colspan="2">{TEXT}{MEHR}</td> <td valign="top" rowspan="2" align="center">{KATE}</td> </tr><tr class="norm"> <td valign="bottom" height="20" colspan="2" align="center"> <b>{_lang_from} {UNAME}</b> [ {KOM} <a href="index.php?news-1&nid={ID}">{_lang_comments}</a> ] </td> </tr> </table>
Danke für die hilfe
Zuletzt modifiziert von Alexander2011 am 11.02.2012 - 18:54:20