29.03.2008, 00:29
Hallo,ich will mein fertiges Forum nun in meine Site einfügen, und bin dabei nun erstmal vorgegangen wie hier bereits beschrieben:
Den Code dort wo das Forum rein soll teilen, oberhalb des headers den oberen Teil meines Site-Scripts einfügen und beim Footer das ganze unterhalb.
Allerdings scheint es Probleme zu geben, weil mein CSS Stylesheet, das in meinem Seitendesign aufgerufen wird, nicht richtig integriert wird.
Mein Stylesheet habe ich bei den Templates hinzugefügt, und die benötigten Bilder in den Ordner images kopiert.
Hier mein Code:
Bitte sagt mir was da falsch ist, dreh gerade echt am Rad, so kurz vor dem Ziel...!
Vielen Dank!
Den Code dort wo das Forum rein soll teilen, oberhalb des headers den oberen Teil meines Site-Scripts einfügen und beim Footer das ganze unterhalb.
Allerdings scheint es Probleme zu geben, weil mein CSS Stylesheet, das in meinem Seitendesign aufgerufen wird, nicht richtig integriert wird.
Mein Stylesheet habe ich bei den Templates hinzugefügt, und die benötigten Bilder in den Ordner images kopiert.
Hier mein Code:
Code:
<div id="contents">
<div id="main">
<TABLE WIDTH="900" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="left" VALIGN="top" background="images/bg_ob1.jpg">
<TABLE SUMMARY="Topnavigation" HEIGHT="78" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="38" HEIGHT="25" BORDER="0" ALT=""></TD>
<TD ALIGN="left" VALIGN="middle"><P CLASS="hell">
<script language="JavaScript"><!--
var Datum = new (Date);
var Tag = Datum.getDate();
var Wochentag = Datum.getDay();
var Monat = Datum.getMonth();
var Jahr = Datum.getFullYear();
var Tagname = new Array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
var Stunde = Datum.getHours();
var Minute = Datum.getMinutes();
if(Minute < 10)
{
Minute = "0" + Minute;
}
if(Stunde < 10)
{
Stunde = "0" + Stunde;
}
if(Monat < 10)
{
Monat = "0" + Monat;
}
document.write(Tagname[Wochentag]+", "+Tag+"."+Monat+"."+Jahr+" <BR> "+Stunde+":"+Minute+" Uhr");
//--></script></P>
</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/bg_ob3.jpg" WIDTH="198" HEIGHT="78" BORDER="0" ALT=""></td>
</TR>
<TR>
<TD ALIGN="left" VALIGN="top">
<div class=navBlock>
<div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">HOME</a></h1>
</div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">IDEE</a></h1></div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">STUDIO SUCHEN</a></h1></div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">STUDIO HINZUFÜGEN</a></h1></div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">STUDIO BEWERTEN</a></h1></div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">NUTZUNGSBEDINGUNGEN</a></h1>
</div><div class="listnavleft" style="display:block;">
<h1 class="navBlockUeberschrift"><a href="#">KONTAKT / IMPRESSUM</a></h1></div>
</div>
</td>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/willkommen_bild.jpg" WIDTH="503" HEIGHT="174" BORDER="0" ALT=""></td>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/willkommen_bild2.jpg" WIDTH="198" HEIGHT="174" BORDER="0" ALT=""></td>
</TR>
<TR>
<TD ALIGN="left" VALIGN="top">
<TABLE SUMMARY="linkeseite" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT=""></TD>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="160" HEIGHT="20" BORDER="0" ALT=""></TD>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT=""></TD>
</TR>
<TR>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT=""></TD>
<TD ALIGN="left" VALIGN="top"><P>Google-Anzeigen:</P>
</TD>
<TD ALIGN="left" VALIGN="top"><IMG SRC="images/blank.gif" WIDTH="20" HEIGHT="20" BORDER="0" ALT=""></TD>
</TR>
</TABLE>
</TD>
<TD COLSPAN="2" ALIGN="left" VALIGN="top"> <table summary="Inhalt" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top"><img src="images/blank.gif" width="23" height="14" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="140" height="16" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="290" height="14" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="48" height="14" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="200" height="14" border="0" alt=""></td>
</tr>
<tr>
<td align="left" valign="top"><img src="images/blank.gif" width="23" height="16" border="0" alt=""></td>
<td colspan="2" align="left" valign="top">
<a name="top" id="top"></a>
<div id="container">
<div id="header">
<div class="menu">
<ul>
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
</ul>
</div>
<hr class="hidden" />
<div id="panel">
{$welcomeblock}
</div>
</div>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
<navigation>
<br class="clear" />
Code:
<br />
<div class="bottommenu"><span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a></span>
</div>
</div>
<hr class="hidden" />
<div id="copyright">
<div id="debug"><debugstuff></div>
<!-- You may NOT remove, modify or hinder the visibility of the MyBB copyright at any time.
It must contain the links to the MyBB website and be formatted appropriately.
Failure to comply with the above will result in prosecution to the full extent of the law.
This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://www.mybboard.net" target="_blank">MyBB</a> {$mybbversion}<br />
{$lang->copyright} © 2002-{$copy_year} <strong><a href="http://www.mybboard.net" target="_blank">MyBB Group</a></strong>
<!-- End copyright -->
<br />
<br class="clear" />
</div>
</div>
</td>
<td align="left" valign="top"><img src="images/blank.gif" width="48" height="16" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="48" height="16" border="0" alt=""></td
></tr>
<tr>
<td align="left" valign="top"><img src="images/blank.gif" width="23" height="16" border="0" alt=""></td>
<td colspan="2" align="left" valign="top"><p><blink>
<marquee scrollamount="5" scrolldelay="1">
</marquee>
</blink></p>
</td>
<td align="left" valign="top"><img src="images/blank.gif" width="48" height="16" border="0" alt=""></td>
<td align="left" valign="top"><img src="images/blank.gif" width="48" height="16" border="0" alt=""></td>
</tr>
</table></TD>
</TR>
</TABLE>
</div>
<div id="footer"><p> </p></div>
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2900066-1";
urchinTracker();
</script>
<script type="text/javascript" src="google_javascript/wagt_maps.js">/*wagt*/</script>
Bitte sagt mir was da falsch ist, dreh gerade echt am Rad, so kurz vor dem Ziel...!
Vielen Dank!