Author: |
Message: |
|
|
sONy |
|
|
Forumrang: Plappermaul |
|
registered: 28.02.2009 |
4 Posts |
|
27.05.2010, 17:13, U |
|
hallo kann mir bitte einer helfen ich habe ein Problem
das sieht so aus:
Code:
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="27" rowspan="2" id="leftbar"> </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"> </td> </tr> |
und so:
Code:
| <span style="padding-top: 9px; padding-left: 4px;"><img src="Bilder/news_icon.png" /> <a href="index.php?site=news_comments&newsID=$news_id&lang=$lang">$headlines</a></span><span class="last_small"> ; $date</span> |
und auf der seite sieht es so aus :
wie richte ich es richtig ein wenn ich es mit <table in der html mache der schiebt sich das ganze template
|
|
|
|
BounTy |
|
|
Forumrang: Stammgast |
|
registered: 11.05.2009 |
62 Posts |
|
27.05.2010, 17:37, U |
|
also bei deinem code ist mir aufgefallen das ein </table> fehlt..
Hast du ne Seite wo ich mir das mal ansehen kann?
MfG
|
|
|
|
sONy |
|
|
Forumrang: Plappermaul |
|
registered: 28.02.2009 |
4 Posts |
|
27.05.2010, 17:46, U |
|
|
|
|
|
myfarynet.eu |
|
|
Forumrang: GT Süchtig |
|
registered: 22.01.2009 |
252 Posts |
|
Poste mal den ganzen inhalt der index.php....
|
|
|
|
sONy |
|
|
Forumrang: Plappermaul |
|
registered: 28.02.2009 |
4 Posts |
|
27.05.2010, 20:00, U |
|
Code:
| <?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 © 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"> </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"> </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"> </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&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 |
|
|
|
|
sONy |
|
|
Forumrang: Plappermaul |
|
registered: 28.02.2009 |
4 Posts |
|
27.05.2010, 21:51, U |
|
kann mir jemand helfen???
|
|
|
|
Bartho |
|
|
Forumrang: Stammgast |
|
registered: 29.06.2010 |
41 Posts |
|
30.06.2010, 16:32, U |
|
ich mach das in der sc_headlines..html immer so :
alles raus und
darin mach ich dann alles und um es zu verschieben sei es nach unten oder oben , link und rechts mache ich folgendes :
Code:
| <div style="margin-top: 5px;></div> |
Code:
| <div style="margin-bottom: 5px;></div> |
Code:
| <div style="margin-left: 5px;></div> |
Code:
| <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
|
|
|