Autor | Zpráva | ||
---|---|---|---|
muaha Profil * |
#1 · Zasláno: 13. 2. 2008, 17:32:37
index.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title></title> <meta name="description" content=""> <meta name="keywords" content=""> <meta name="author" content=""> <link media="screen" rel="StyleSheet" type="text/css" href="styl.css" /> </head> <body bgcolor=#939393> <div id="hore"> <h1>LOGO</h1> <br>g<br>g<br>ggg </div> <div id="all"><div id="stred"> <h1>obsah</h1><br>g<br>g<br>ggg g<br> </div id="stred"> <div id="menu"><h2>menu</h2><br>g<br>g<br>g<br>g<br> </div id="menu"> </div id="all"> <div id="dole"> <hr> <h1>pata</h1> </div> </body> </html> styl.css body { text-align: center; } #all { width: 760px; height: 500px auto; text-align: left; margin: 0 auto; background-color: white; background-image: url('p1.jpg'); background-repeat: repeat-x; } #stred { width: 580px; height: 0 auto; margin-right: 180px; text-align: left; margin-top: 10 ; background-color: white; } #hore { width: 760px; height: 250px; text-align: left; margin: 0 auto; background-color: white; } #dole { width: 760px; height: 50px; text-align: left; margin: 0 auto; background-color: white; } #menu { width: 160px; height: 0 auto; margin-left: 600px; text-align: left; margin-top: 30 ; background-color: red; } Divy menu a stred nemozem dat vedla seba...vzdy je #menu pod #stred-om.... Ako mam vyriesit tento problem? Chcem aby sa mi zobrazovali vedla seba. Dakujem. |
||
Obin Profil * |
#2 · Zasláno: 13. 2. 2008, 17:40:15
|
||
vertigo4 Profil |
#3 · Zasláno: 13. 2. 2008, 17:40:43
přidej stedu a menu float: left;
|
||
Časová prodleva: 18 let
|
0