|
||||
Layout Problem mit div box
also ich habe mein Layout in Div Boxen aufgeteilt...
und jetzt wollte ich mein selbstprogrammiertes newssystem includen.. dieses hindert sich aber gar nicht an meiner begrenzung der div box , sondern geht einfach weiter... Hier ein Bild: http://1mb.hp-vorlagen.eu/uploads/15...:52_screen.gif Naja ich poste jetzt mal dazu meinen php und css code: PHP: PHP-Code:
Code:
* { padding : 0; margin : 0; } body { margin-top : 10px; font : 12px "Trebuchet MS", verdana, arial, sans-serif; text-align : center; background : #cccccc; background-image: url(images/bg.gif); background-repeat: repeat-x ; } h2 { margin : 1em 0; font-size : 16px; text-transform : uppercase; padding-left : 8px; line-height : 18px; } #box { width : 750px; margin : 0 auto; text-align : center; background : #ddd; border : 5px solid white; border-bottom : 5px solid white; } #header { background-image: url(images/header.gif); background-repeat: no-repeat; background-position:center; background-color: #38750F; width : 719px; height : 120px; color : black; line-height : 70px; padding-left : 30px; font-size : 25px; text-transform : uppercase; text-align : left; } #header span { display : block; color : white; font-size : 12px; text-transform : none; margin-top : -45px; font-weight : normal; } #inhalt { padding : 10px 20px; text-align : left; clear : left; width : 710px; } #footer { height : 30px; width : 750px; line-height : 30px; background : #888888; color : white; text-align : center; } #footer span a { float : right; margin : -30px 10px 0 0; } #footer span a:hover { color : white; } h3 { color : #000; font-style : italic; font-size : 16px; border-bottom : 1px dashed #c0c0c0; } .tb { background-color: #e9e9e9; } .ttop { background-color: #f9f9f9; font-family: Verdana, Arial; font-size: 11px; color: #000000; padding: 3px; } .tc { background-color: #ffffff; font-family: Verdana, Arial; font-size: 11px; color: #000000; padding: 3px; } ich hoffe mir kann wer helfen ich bin am verzweifeln ... Mfg power ...
__________________
[SIGPIC][/SIGPIC] |
Sponsored Links |
|
||||
von wegen, dieses "height" wird vom IE als min-height interpretiert
Wichtig ist, dass die Divs in dem großen Div Container, diesen zum mitwachsen bringen, dass geht so: http://xhtmlforum.de/40267-faq-haeuf...d-haeufig.html Punkt 2
__________________
Ohne Quelltext gibts selten Hilfe. Also: Onlinebeispiel hochladen und Link bereitstellen! Foren-FAQ |
|
||||
so ich habe mein Problem gelöst...
nachdem ich den kompletten css code durchkämmt hatte, war nun der php code drann. Nun habe ich den übeltäter gefunden hier: PHP-Code:
PHP-Code:
__________________
[SIGPIC][/SIGPIC] |
|
||||
Er bekommt stattdessen height (das er wie min-height interpretiert):
Code:
* html #element { height: ...; } Geändert von heiko_rs (16.12.2006 um 12:39 Uhr) |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Problem mit Parent / Child Div | lemmyk | CSS | 0 | 04.03.2010 16:44 |
Problem bei Positionierung einer div Box | Octane | CSS | 3 | 30.04.2009 14:44 |
problem mit div box im firefox - dringend!! | tee | CSS | 11 | 27.09.2007 19:21 |
DIV in DIV BOX | party | CSS | 1 | 24.08.2007 16:20 |
div box mit image - IE / Opera Problem | Pharmaline | CSS | 20 | 05.04.2005 10:28 |