PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Warum erzwingt ul einen Box-Umbruch?
Beitrag
<blockquote data-quote="yezinia" data-source="post: 2308527" data-attributes="member: 469858"><p>Ok das ist das erste mal, dass ich hier eine Frage stelle, aber ich stehe wirklich auf dem Schlauch, habe sozusagen das ultimative Brett vorm Kopf:</p><p></p><p></p><p></p><p>Warum erzwingt ul einen Box-Umbruch?</p><p></p><p>HTML</p><p>[HTML]</p><p><!DOCTYPE html></p><p><html lang="de"></p><p> <head></p><p> <meta charset="UTF-8"></p><p> <title>Code.Institute - Programmieren lernen: schnell, einfach, kostenlos</title></p><p> <link href="./style/cimain.css" type="text/css" rel="stylesheet"></p><p> </head></p><p> <body></p><p> <div id="contentbox" class="clearfix"></p><p> <!-- Left coloumn 33% of viewport size --></p><p> <div id="leftcol"></p><p> <h1 id="pagetitle">Code Institute</h1></p><p> <ul></p><p> <li></p><p> Hauptmen&uuml;</p><p> </li></p><p> </ul></p><p> </div></p><p> </p><p> <!-- Right coloumn 66% of viewport size --></p><p> <div id="contentcol"></p><p> <div></p><p> asdasd</p><p> </div></p><p> </div></p><p> </div></p><p> </body></p><p></html></p><p>[/HTML]</p><p></p><p>Dazugehöriges CSS</p><p>[CODE]</p><p>* {</p><p> margin: 0px;</p><p> padding: 0px;</p><p> font-size: 16px;</p><p> height: 100%;</p><p>}</p><p></p><p>html {</p><p> background-color: #787878;</p><p> height: 100%;</p><p> width: 100%;</p><p>}</p><p></p><p>#contentbox {</p><p> background-color: #656565;</p><p> width: 100%;</p><p> height: 100%;</p><p> position: relative;</p><p>}</p><p></p><p>#leftcol {</p><p> background-color: #323232;</p><p> background-image: url(./images/cibglogo.gif);</p><p> background-repeat: no-repeat;</p><p> height: 100%;</p><p> width: 33%;</p><p> float: left;</p><p>}</p><p></p><p>.clearfix:after {</p><p> content: ".";</p><p> display: none;</p><p> visibility: hidden;</p><p> clear: both;</p><p> height: 0px;</p><p> line-height: 0;</p><p>}</p><p></p><p>#leftcol h1 {</p><p> font-size: 30pt;</p><p> color: #ABABAB;</p><p> font-family: helvetica;</p><p> font-variant: small-caps;</p><p> margin-top: 85px;</p><p> margin-left: 50px;</p><p>}</p><p></p><p>#leftcol ul {</p><p> margin: 0px;</p><p> padding: 0px;</p><p> list-style-type: none;</p><p> position: relative;</p><p>}</p><p></p><p>#leftcol ul li {</p><p> font-size: 16px;</p><p> color: #ABABAB;</p><p> font-weight: bold;</p><p> font-family: helvetica;</p><p> font-variant: small-caps;</p><p>}</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="yezinia, post: 2308527, member: 469858"] Ok das ist das erste mal, dass ich hier eine Frage stelle, aber ich stehe wirklich auf dem Schlauch, habe sozusagen das ultimative Brett vorm Kopf: Warum erzwingt ul einen Box-Umbruch? HTML [HTML] <!DOCTYPE html> <html lang="de"> <head> <meta charset="UTF-8"> <title>Code.Institute - Programmieren lernen: schnell, einfach, kostenlos</title> <link href="./style/cimain.css" type="text/css" rel="stylesheet"> </head> <body> <div id="contentbox" class="clearfix"> <!-- Left coloumn 33% of viewport size --> <div id="leftcol"> <h1 id="pagetitle">Code Institute</h1> <ul> <li> Hauptmenü </li> </ul> </div> <!-- Right coloumn 66% of viewport size --> <div id="contentcol"> <div> asdasd </div> </div> </div> </body> </html> [/HTML] Dazugehöriges CSS [CODE] * { margin: 0px; padding: 0px; font-size: 16px; height: 100%; } html { background-color: #787878; height: 100%; width: 100%; } #contentbox { background-color: #656565; width: 100%; height: 100%; position: relative; } #leftcol { background-color: #323232; background-image: url(./images/cibglogo.gif); background-repeat: no-repeat; height: 100%; width: 33%; float: left; } .clearfix:after { content: "."; display: none; visibility: hidden; clear: both; height: 0px; line-height: 0; } #leftcol h1 { font-size: 30pt; color: #ABABAB; font-family: helvetica; font-variant: small-caps; margin-top: 85px; margin-left: 50px; } #leftcol ul { margin: 0px; padding: 0px; list-style-type: none; position: relative; } #leftcol ul li { font-size: 16px; color: #ABABAB; font-weight: bold; font-family: helvetica; font-variant: small-caps; } [/CODE] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 5, ▼ = 2 und ■ = 7, was ist ▲ × ▼ + ■?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Warum erzwingt ul einen Box-Umbruch?
Oben