TP Underground Lounge 07/08
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 07.08.2005, 12:43   #1
TP-Senior
 
Benutzerbild von Palorux
 
Registriert seit: May 2005
Ort: =- DRESDEN -=
Palorux ist auf einem guten Weg
Question

komme einfach nett weiter ...


hallo @all,

ich habe da mal wieder ein problem mit den div boxen.
also folgende sache packe ich irgendwie nett, hier schaut es euch mal bitte an
http://onkelzportal.de/leer.php
so ich möchte gerne das linke menü teil unter den oberen header haben und das inhalt teil auch. es soll aber mittig sein beides und nicht breiter als 880 px. so wie der header oben ist.
wie bekomme ich das hin, dass die beiten divboxen zuammen 880px breit sind und centriert.
so wie es bei den header oben ist, die menüseite soll 200px breit sein und der inhalt soll den rest ausfüllen bis 880px.

hier mal der code :

PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
title>OnkelzPortal In Ehrerbietung an die Rock Band B&ouml;hse Onkelz</title>
<
meta http-equiv="Content-Type" 
    
content="text/html; charset=iso-8859-1">
<
META NAME="TITLE"     
    
CONTENT="OnkelzPortal | B&ouml;hse Onkelz Supperter Webseite">
<
META NAME="DESCRIPTION" 
    
CONTENT="Alles über die Rockband Böhsen Onkelz -
        Hier findet Ihr alle Sachen rund um die Rockband Böhse Onkelz -
        Die Webseite ist ein Muss für alle Fans der Böhsen Onkelz"
>
<
META NAME="KEYWORDS"  
    
CONTENT="onkelz, böhse, böhse onkelz, mtv, keine amnestie für mtv, bosc, b.o.s.c., 
             kevin, viva los tioz, lausitzring, vaya con tioz, tioz, matthias, stephan, frankfurt,
             rockmusik, havy matel, news, sound, texte, liedertexte, der netter mann, musik, mp3, download, 
             bilder, konzerte, on tour, backstage, live musik, onkelzfan, fan,"
>
<
META NAME="OWNER" 
    
CONTENT="homepage[at]onkelzportal[dot]de">
<
META NAME="AUTHOR" 
    
CONTENT="homepage[at]onkelzportal[dot]de">
<
META NAME="copyright" 
    
CONTENT="This document copyright 2004 by homepage[at]onkelzportal[dot]de">
<
META HTTP-EQUIV="EXPIRES"
    
CONTENT="">
<
META HTTP-EQUIV="CHARSET"
    
CONTENT="ISO-8859-1">
<
META HTTP-EQUIV="CONTENT-LANGUAGE" 
    
CONTENT="German">
<
META NAME="rating" 
    
CONTENT="14 years">
<
META NAME="ROBOTS" 
    
CONTENT="index,follow">
<
META NAME="REVISIT-AFTER" 
    
CONTENT="4 weeks">
<
META HTTP-EQUIV="imagetoolbar"
    
CONTENT="no">
<!--     
Currently no favicon -->
<
link rel="SHORTCUT ICON"    
    
href="favicon.ico">
<
link rel="icon"         
    
href="favicon.ico" type="image/ico">
<
SCRIPT LANGUAGE="JavaScript" type="text/javascript"
<!--     
// Schutz vor Robotern
function zeigAdr(text1text2text3) { 
document.write('<a class="txt-kl" href="' 'mailto:' text1 '@' text2 '.' text3 '">' '<span class="txt-kl" style="font-weight: normal;">' text1 '@' text2 '.' text3 '<' '/span>' '<' '/a>'); 

function 
MM_reloadPage(init) {  //reloads the window if Nav4 resized
  
if (init==truewith (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    
document.MM_pgW=innerWidthdocument.MM_pgH=innerHeightonresize=MM_reloadPage; }}
  else if (
innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgHlocation.reload();
}
MM_reloadPage(true);
//-->

</script>
<script language="JavaScript" type="text/JavaScript">

</script>
<link href="incl/style/page.css" rel="stylesheet" type="text/css">
<style type="text/css">
@import url(incl/style/page.css);
</style>
</headtop>

</body>

<div id="header">
  <table width="879"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="219" align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop1.jpg" alt="OnkelzPortal" width="219" height="60" border="0"></a></td>
      <td width="220" align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop2.jpg" alt="OnkelzPortal" width="220" height="60" border="0"></a></td>
      <td width="220" align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop3.jpg" alt="OnkelzPortal" width="220" height="60" border="0"></a></td>
      <td width="220" align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop4.jpg" alt="OnkelzPortal" width="220" height="60" border="0"></a></td>
    </tr>
    <tr>
      <td align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop5.jpg" alt="OnkelzPortal" width="219" height="65" border="0"></a></td>
      <td align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop6.jpg" alt="OnkelzPortal" width="220" height="65" border="0"></a></td>
      <td align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop7.jpg" alt="OnkelzPortal" width="220" height="65" border="0"></a></td>
      <td align="left" valign="top"><a href="http://www.onkelzportal.de/portal/index.php" target="_top"><img src="http://www.onkelzportal.de/incl/picer/header/headtop8.jpg" alt="OnkelzPortal" width="220" height="65" border="0"></a></td>
    </tr>
  </table>
</div> <div id="headerline">Raum für den Inhalt von id "headerline"</div>
 <table width="100%"  border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td align="center" valign="top"><div class="box2" id="leftbox"><br>
       <br>
       <br>
       <br>
       <br>
       <br>
       <br>
</div>

<div class="box3" id="conaten"><br>
</div> </td>
   </tr>
 </table>
 <div id="fotter">Raum für den Inhalt von id "fotter"</div>
</html> 
und hier die css datei :
PHP-Code:
body {
    
margin0;
    
text-align:center;
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size95%;
    
font-stylenormal;
    
line-heightnormal;
    
font-weightnormal;
    
font-variantnormal;
    
text-transformnone;
    
text-decorationnone;
    
background-color#000000;
    
background-imageurl(../picer/body_bg.jpg);
}


#header {
    
width880px;
    
margin0 auto;
    
text-alignleft;
    
height125px;
    
background-color#000000;
}
#headerline {
    
background-color#000000;
    
text-aligncenter;
    
width880px;
    
margin-top0px;
    
margin-rightauto;
    
margin-bottom0px;
    
margin-leftauto;
    
height30px;
    
}

#leftbox{
    
background:silver;
    
float:left;padding:5px;
    
border:1px solid black;
    
width:170px;
    
margin:5px 0 0 0;

}

#conaten
{
    
background:darkgray;
    
padding:5px;
    
margin:5px 0 0 190px;
    
border:1px solid black;
}

#fotter
{
    
background-color#000000;
    
width880px;
    
margin-top0px;
    
margin-rightauto;
    
margin-bottom0px;
    
margin-leftauto;
    
height100px;

vieleicht ist jemand mal so nett und schaut wieso ich das nett gebacken bekomme. schon mal vielen dank für eure hilfe ... THX DANKE
__________________
Palorux
- : - : - : - : - : - : - : -
Ab hier bitte, mit den Augen eines Anfänger schauen!!
Meine Versuche: Palorux
Palorux ist offline   Mit Zitat antworten


Alt 07.08.2005, 13:01   #2
TP-Member
 
Benutzerbild von akratellio
 
Registriert seit: Jul 2005
Ort: berlin
akratellio macht alles soweit korrekt
hallo...,

vielleicht solltest du dich erstmal mal für div's oder tables entscheiden.
dann formatier dein layout mit css und alles wird schon viel übersichtlicher.

so kann man was mit css machen

Code:
<style type="text/css">
<!--
#titel{
width:100%;
height:65px;
background-color:#cccccc
}
#lnav{
width:15%;
height:10em;
background-color:#e6e6e6;
float:left
}
#inhalt{
width:85%;
height:20em;
background-color:#f6f6f6;
float:left
}
//-->
</style>
so kann man das mit html machen:

Code:
<div style="width:800px">
  <div id="titel">Hier das titelbild</div>
  <div id="lnav">Linke navi</div>
  <div id="inhalt">inhalt</div>
</div>
kannst ja mal damit rumprobieren...

mfg

akratellio
akratellio ist offline   Mit Zitat antworten
Alt 07.08.2005, 15:43   #3
TP-Senior
 
Benutzerbild von Palorux
 
Registriert seit: May 2005
Ort: =- DRESDEN -=
Palorux ist auf einem guten Weg
danke für deine tipps @akratellio,

ja ich werde mal rumprobieren und testen mit den ganzen zeug ...

danke noch mal ...
__________________
Palorux
- : - : - : - : - : - : - : -
Ab hier bitte, mit den Augen eines Anfänger schauen!!
Meine Versuche: Palorux
Palorux ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > HTML Puristen
komme einfach nett weiter ... komme einfach nett weiter ...
« Html + Iframe in Fullscreen öffnen ? | doc nach html konvertieren? »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:50 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67