Fragen zum CodenHeadlines


27.05.2010, 17:13 - sONy - Forumrang: Plappermaul - 4 Posts
hallo kann mir bitte einer helfen ich habe ein Problem
das sieht so aus:
Code:
1.
<table width="100%" border="0" cellspacing="0" cellpadding="0">   <tr>     <td width="27" rowspan="2" id="leftbar">&nbsp;</td>     <td valign="top" id="top_box" style="padding-left: 2px; padding-top: 8px;"><?php include ('sc_headlines.php') ?></td>     <td valign="top" id="top_box" style="padding-left: 2px; padding-top: 22px;">       <?php include ('latesttopics.php') ?></td>     <td width="209" align="center" id="slider"><?php include ('features.php') ?></td>     <td width="28" rowspan="2" id="rightbar">&nbsp;</td>   </tr>

und so:
Code:
1.
<span style="padding-top: 9px; padding-left: 4px;"><img src="Bilder/news_icon.png" /> <a href="index.php?site=news_comments&amp;newsID=$news_id&amp;lang=$lang">$headlines</a></span><span class="last_small"> ; $date</span>

und auf der seite sieht es so aus :
http://virtualitygaming.vi.funpic.de/pagebug.jpg
wie richte ich es richtig ein wenn ich es mit <table in der html mache der schiebt sich das ganze template
 
27.05.2010, 17:37 - BounTy - Forumrang: Stammgast - 62 Posts
also bei deinem code ist mir aufgefallen das ein </table> fehlt..
Hast du ne Seite wo ich mir das mal ansehen kann?

MfG
 
27.05.2010, 17:46 - sONy - Forumrang: Plappermaul - 4 Posts
ja
http://www.virtuality-gaming.de/
 
27.05.2010, 18:14 - myfarynet.eu - Forumrang: GT Süchtig - 252 Posts
Poste mal den ganzen inhalt der index.php....
 
27.05.2010, 20:00 - sONy - Forumrang: Plappermaul - 4 Posts
Code:
1.
<?php /* ########################################################################## #                                                                        # #           Version 4       /                        /   /               # #          -----------__---/__---__------__----__---/---/-               # #           | /| /  /___) /   ) (_ `   /   ) /___) /   /                 # #          _|/_|/__(___ _(___/_(__)___/___/_(___ _/___/___               # #                       Free Content / Management System                 # #                                   /                                    # #                                                                        # #                                                                        # #   Copyright 2005-2009 by webspell.org                                  # #                                                                        # #   visit webSPELL.org, webspell.info to get webSPELL for free           # #   - Script runs under the GNU GENERAL PUBLIC LICENSE                   # #   - It's NOT allowed to remove this copyright-tag                      # #   -- http://www.fsf.org/licensing/licenses/gpl.html                    # #                                                                        # #   Code based on WebSPELL Clanpackage (Michael Gruber - webspell.at),   # #   Far Development by Development Team - webspell.org                   # #                                                                        # #   visit webspell.org                                                   # #                                                                        # ########################################################################## */  // important data include include("_mysql.php"); include("_settings.php"); include("_functions.php");  $_language->read_module('index'); $index_language = $_language->module; // end important data include ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="Clanpage using webSPELL 4 CMS" /> <meta name="author" content="webspell.org" /> <meta name="keywords" content="webspell, webspell4, clan, cms" /> <meta name="copyright" content="Copyright &copy; 2005 - 2009 by webspell.org" /> <meta name="generator" content="webSPELL" />  <!-- Head & Title include --> <title><?php echo PAGETITLE; ?></title> <link href="_stylesheet.css" rel="stylesheet" type="text/css" /> <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" /> <script src="js/bbcode.js" language="jscript" type="text/javascript"></script> <script type="text/javascript" src="contentslider.js">  /*********************************************** * Featured Content Slider- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more ***********************************************/  </script> <!-- end Head & Title include -->  <title>Unbenanntes Dokument</title> <link href="css/furious.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="contentslider.css" /> </head> <body> <div id="main_container"> <div id="headbar"><div id="stats"><? include ('counter.php') ?></div></div> <div id="header">   <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">     <tr height="10%">       <td width="653" height="97">&nbsp;</td>       <td width="547" align="left" valign="middle"><? include ('sc_bannerrotation.php') ?></td>     </tr>   </table> </div>  <div id="top_balken"></div> <div id="navi_leiste"> <div id="navi"> <ul>           <li class="infotainment"><a href="#" onClick="showit(0)"></a></li>         <li class="clanbase"><a href="#" onClick="showit(1)"></a></li>         <li class="community"><a href="#" onClick="showit(2)"></a></li>         <li class="mediabase"><a href="#" onClick="showit(3)"></a></li>     </ul> <div id="login_area">   <table width="100%" border="0" cellspacing="0" cellpadding="0">     <tr>       <td><? include ('login.php') ?></td>     </tr>   </table> </div> </div> <div id="subnav">   <div id="describe" onMouseover="clear_delayhide()" style="padding-top: 7px;"><script language="javascript" src="js/navi.js"></script></div></div> </div> <div id="sponsor"><? include ('sc_sponsors.php') ?></div> <div id="sponsor_balken"></div>  <table width="100%" border="0" cellspacing="0" cellpadding="0">   <tr>     <td width="27" rowspan="2" id="leftbar">&nbsp;</td>     <td valign="top" id="top_box" style="padding-left: 2px; padding-top: 8px;"><?php include ('sc_headlines.php') ?></td>     <td valign="top" id="top_box" style="padding-left: 2px; padding-top: 22px;">       <?php include ('latesttopics.php') ?></td>     <td width="209" align="center" id="slider"><?php include ('features.php') ?></td>     <td width="28" rowspan="2" id="rightbar">&nbsp;</td>   </tr>   <tr>     <td colspan="3" align="left" valign="top" id="content_bg">     <div id="left">       <?php                          if(!isset($site)) $site="news";                          $invalide = array('\\','/','/\/',':','.');                          $site = str_replace($invalide,' ',$site);                          if(!file_exists($site.".php")) $site = "news";                          include($site.".php");                          ?>     </div>       <div id="right">       <div id="right_aussen_title">Umfrage</div>       <? include ('poll.php') ?><br />       <div id="right_aussen_title">Shoutbox</div><br />       <? include ('shoutbox.php') ?><br />       </div>       <div id="midd">       <div id="rightbox_title"><center>Squads</center></div>       <? include ('sc_squads.php') ?><br />         <div id="rightbox_title"><center>          Partner        </center></div>        <a href="http://www.2one-designs.de" target="_blank"><img src="Bilder/2one-logo.png" width="204" height="77" /></a><?php include ('partners.php') ?><hr />More <a href="http://www.templates4all.de" target="_blank" title="webSPELL Templates">webSPELL Templates</a> for all</div></td>   </tr> </table> <div style="clear:both;"></div> <div id="footer"><center><div id="footer_inhalt"><?php echo 'Copyright '.date("Y").''; ?> by <? echo $myclanname ?> </div></center> </div> <div align="center">   <p><script type="text/javascript" src="http://www.ipcounter.de/count_js.php?u=67531408&amp;color=green"></script></p>   <p><a href="http://www.shisha-game.net/?id=423861&banner=1"><img src="http://www.shisha-game.net/gfx/banner/banner_1.gif" border="0" alt="Shisha-Game.net - Pimp Your Shisha!" title

 
27.05.2010, 21:51 - sONy - Forumrang: Plappermaul - 4 Posts
kann mir jemand helfen???
 
30.06.2010, 16:32 - Bartho - Forumrang: Stammgast - 41 Posts
ich mach das in der sc_headlines..html immer so :

alles raus und

Code:
1.
<div></>div>
darin mach ich dann alles und um es zu verschieben sei es nach unten oder oben , link und rechts mache ich folgendes :
Code:
1.
<div style="margin-top: 5px;></div>

Code:
1.
<div style="margin-bottom: 5px;></div>

Code:
1.
<div style="margin-left: 5px;></div>

Code:
1.
<div style="margin-right: 5px;></div>


sollte dein problem beheben

zudem in der sc_headlines.php bei echo den <table... raus und unten </table> auch weg dann ist es valide

in deinen fall sollte margin-top zutreffen damit´s passt

mfg