mysqldumper
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 18.07.2007, 13:47   #1
TP-Member
 
Registriert seit: Jul 2007
Ort: RE
r0k079 macht alles soweit korrekt

Wiedermal CSS Probleme


Hallöchen TP Gemeinde. Wie viele andere auch, habe ich ein kleines Problem mit CSS

Also ich muss sagen, ich fange gerade erst an mich CSS zu beschäftigen, da ich einige von mir gemachte Seiten auf eben dieses umstellen möchte doch ich habe so meine kleinen Problemchen, sag ich einfach mal.

Folgender Fall z.b.:

Ich habe hier im Beispiel, jetzt mal 4 layer, die in einer Tabelle angeordnet werden sollen. 3 davon nebeneinander (klappt inzwischen sogar ) und dann eben ein 4. neben dem ersten, aber unter dem zweiten.

Nicht verständlich warscheinlich, aber hier mal mein Code, der es vielleicht leichter verständlich macht. Im moment noch ohne CSS Datei, da ich noch am experimentieren bin.

HTML-Code:
<table align="center" width="982" border="0">
  <tr>
    <td>
    	<div style="float: left; position: relative; left: 0px; top: 0px; width: 635px; height: 150px; background-color: #000000;"></div>
      	<div style="float:left; width: 325px; height: 15px; background-color: #006464;"></div>
        <div style="float:left; width: 15px; height: 15px; background-color: #00435f;"></div>
        <div style="float:left; width: 280px; height: 135px; background-color: #153486;"></div>
	</td>
  </tr>
</table>
Mein Problem ist nun das zwischen den 2. und 4. Layer ein kleiner zwischenraum entsteht, der einfach nicht wegzubekommen ist. Ich denke das ist eh ziemlich saumässig organisert, aber ich bin wie gesagt CSSn00b und über jeden Tipp dankbar!

Bis hierhin...
greetz
r0k0
r0k079 ist offline   Mit Zitat antworten


Alt 18.07.2007, 15:43   #2
TP-Member
 
Registriert seit: Jul 2007
Ort: RE
r0k079 macht alles soweit korrekt
So, ich wollte nur mal eben berichten, das ich soweit alles geschaft habe, war lediglich ein Anzeigefehler mit meiner Auflösung ... warum auch immer *schulterzuck*

Doch nun stehe ich erneut vor einem Problem. Ich hänge mal folgendes Bild an, um es zu verdeutlichen.

Vorhandenes Problem

Dieser kleine Layer dort unten Links, soll direkt unter den layer dort links. Doch ich bekomm es nicht. Wird sicher nur eine bestimmt floatsache sein, bzw. eine gewisse kombination. Desweiteren, müsste die fläche die noch weiß ist auch durch einen layer ersetzt werden. doch auch hier bekomme ich keinen an die gewünschte position. Vielleicht kann mir ja jemand sagen wie ich an meine Ziele komm.

Hier nochmal mein Code, den ich bisher hab, immer noch ohne CSS Datei.

HTML-Code:
<div id="container" style="height: auto; width: 975px; margin-left: auto; margin-right: auto; margin-top: 25; background-color:#ffffff;">

	 <div style="float: left; position: relative; left: 0px; top: 0px; width: 635px; height: 150px; background-color: #000000;"></div>
   	 <div style="float:left; width: 340px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 290px; height: 125px; background-color: #ffffff;"></div>
     <div style="float:left; width: 25px; height: 125px; background-color: #00435f;"></div>
     <div style="float:left; width: 25px; height: 125px; background-color: #006464;"></div>
	 
     <div style="float:left; width: 975px; height: 25px; background-color: #b6b6b6;"></div>
     
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 140px; height: 25px; background-color: #006464;"></div>
     <div style="float:left; width: 135px; height: 25px; background-color: #006464;"></div>
     
     <div style="float:left; width: 25px; height: 10px; background-color: #006464;"></div>
     <div style="float:left; width: 265px; height: 10px; background-color: #00435f;"></div>
     <div style="float:left; width: 10px; height: 330px; background-color: #00435f;"></div>
     <div style="float:left; width: 625px; height: 330px; background-color: #000000;"></div>
     <div style="float:left; width: 25px; height: 330px; background-color: #00435f;"></div>     
     <div style="float:left; width: 25px; height: 330px; background-color: #006464;"></div> 
     
     <div style="float:clear; width: 15px; height: 320px; background-color: #006464;"></div>
     <div style="float:left; width: 265px; height: 10px; background-color: #006464;"></div>
              
</div>
Bin noch einmal über jede erdenklich hilfe Dankbar.

Geändert von r0k079 (18.07.2007 um 16:01 Uhr).
r0k079 ist offline   Mit Zitat antworten
Alt 18.07.2007, 20:26   #3
TP-Senior
 
Registriert seit: Feb 2006
Ort: Sachsen
wiantomi macht alles soweit korrekt
Hallo!

float:clear gibt es meiner Meinung nach nicht. Ich kenne nur "clear: both;"

Mein Tipp: Nimm dir ein Blatt Papier und skizziere die einzelnen Container mit with, padding, margin und meist findet man dann schnell den Fehler.

Für padding und margin empfehle ich die folgende Schreibweise:
margin: 0 0 0 0; (oben, rechts, unten, links)

Du gibst mehrere Male die gleiche CSS-Formatierung an. Es geht ja nicht nur darum, den Code in einer extra Datei zu schreiben, sondern gleiche Formate über "class" zu definieren. Sonst sieht doch keiner mehr durch.

Viel Erfolg!

wian
wiantomi ist offline   Mit Zitat antworten
Alt 18.07.2007, 20:35   #4
TP-Supporter
 
Benutzerbild von kami
 
Registriert seit: Apr 2004
Ort: NRW
kami ist auf einem guten Weg
Hallo,

bitte mach eine CSS-Datei. Dann wird für Dich auch vieles klar. Sonst schau doch mal erst bei alles für CSS.
Da wirst bestimmt was finden. Wenn Du fertig bist kannst Dich ja wieder melden.
__________________
gruss
reinhold

_____________________
Übung macht den Meister.

http://traump.rkami.de/Index.php

Hier habe ich jetzt alle Dateien für traum-projekt gespeichert.


kami ist offline   Mit Zitat antworten
Alt 18.07.2007, 20:49   #5
TP-Senior
 
Registriert seit: Feb 2006
Ort: Sachsen
wiantomi macht alles soweit korrekt
Ich nochmal! Mir fehlen zwar gerade die Nerven mich in deinen Code zu fitzen, aber anscheindend hast du sogar für die grünen Ränder DIV-container verwendet. Das löst man mit border-top etc. Du solltest das nochmal neu aufbauen und vereinfachen.
wiantomi ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > HTML Puristen > CSS
Wiedermal CSS Probleme Wiedermal CSS Probleme
« Problem mit CSS Navigation | Div element vertical & horizontal centern »

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 07:57 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