ERLEDIGT
NEIN
NEIN
ANTWORTEN
0
0
ZUGRIFFE
719
719
EMPFEHLEN
-
HI @ all,
habe folgendes Problem!
Habe ein Site mit komplett mit divs aufgebaut.
Haben einen ContentDiv den sich dem Browserfenster anpassen soll.
Haben unter den Content noch ein Navigation Div , die sollen sich nicht überlappen
das Problem ist das wenn ich overflow=auto einstelle scrollt er nur im Mozilla und nich im IE.
Der Content Scrollt nur wenn ich ihm eine feste Größe zuweise
hier der html code:
und hier das css dazu:HTML-Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>title</title> <link href="main_style.css" rel="stylesheet" type="text/css"> </head> <body scroll="no"> <div id="body"> <div id="News"></div> <div id="headnav"></div> <div id="bottomNav"></div> <div id="bottom"></div> </div> </body> </html>
Code :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
#body{ position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:1; visibility: visible; } #head{ position:absolute; left:0px; top:0px; width:100%; height:60px; z-index:2; visibility: visible; } #headnav{ position:absolute; background-color:#004D91; left:0px; top:60px; width:100%; height:25px; z-index:3; visibility: visible; } #bottom{ position:absolute; background-color:#004D91; left:0px; bottom:0px; width:100%; height:25px; z-index:4; visibility: visible; } #News{ position:absolute; left:50%; top:85px; width:900px; margin-left:-450px; z-index:5; visibility: visible; overflow: auto; height: 50%; }
hat jemand einen tipp?!
greets
Loco
Ähnliche Themen
-
Scrollbarer text mit Bildern?
Von Lyn555 im Forum Flash PlattformAntworten: 10Letzter Beitrag: 11.09.06, 20:30 -
Scrollbarer TD
Von Mitti im Forum Javascript & AjaxAntworten: 6Letzter Beitrag: 26.10.05, 17:00 -
scrollbarer DIV-container?
Von nytemare im Forum CSSAntworten: 2Letzter Beitrag: 12.01.04, 19:05 -
Scrollbarer Bereich in html
Von TheScary im Forum HTML & XHTMLAntworten: 8Letzter Beitrag: 10.04.03, 17:25 -
Scrollbarer Layer?
Von QuickMick99 im Forum Javascript & AjaxAntworten: 8Letzter Beitrag: 24.02.02, 11:27





Login





