|
|||
durchgehender hintergrund 100%...
Hallo,
ich weiß, dass dieses Thema hier schon einige male besprochen wurde. habe aber kein Lösung gefunden. Ich habe bei meinem Content-Containr eine Hintergrundgrafik. Diese soll immer so lang sein wie der Inhalt oder mindestens 100%. Code:
#container { position: absolute; top: 0px; width: 784px; left: 50%; margin-left: -392px; background: url(../images/bg_container.gif) repeat-y; } Wenn der text länger ist als der Container, dann läuft alles so wie es soll. Klar, ich könnte min-height:100% einfügen. Aber das funktioniert nur im FF und IE 7, oder?? |
Sponsored Links |
|
|||
Servus,
meinst du so in der Art??? Code:
<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <title></title> <style type="text/css"> html, body { height:100%} <!-- #mainBox { position: relative; display: block; background: #dfdfdf; border-left: 170px solid #607b9e; border-right: 170px solid #90abce; height:100%; } --> </style> </head> <body> <div id="mainBox"> text </div> </body> </html> |
Sponsored Links |
|
|||
|
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
div Hintergrund wird im IE durch Hintergrund des unteren divs überlagert | ren83 | CSS | 6 | 19.10.2008 16:50 |
Durchgehender Hintergrund, 100%? | hmdllr | CSS | 6 | 04.09.2007 22:04 |
Div Orientierung | Leonidus | CSS | 22 | 30.05.2007 18:05 |
Hintergrund | SPMan | CSS | 0 | 16.05.2007 09:58 |
Hintergrund wird im IE abgehackt | lekim | CSS | 0 | 29.03.2006 15:14 |