Autor | Zpráva | ||
---|---|---|---|
Hejna Profil * |
#1 · Zasláno: 16. 1. 2009, 16:56:23
Jak mám udělat něco, aby mi vždy když udělám nový řádek v levé modré části, ale chci aby byl na stejné úrovni se zeleným.
HTML <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="PSPad editor, www.pspad.com"> <title>neco</title> <link href="css.css" type="text/css" rel="stylesheet"> </head> <body> <div id="cele"> <div id="hlavicka"> </div> <div id="telo"> hghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh </div> <div id="menu"> fgdfgdfghdfhgdhgfhfghgfgfgfgfgfgfhgfh <br> dfgbdfbfdbfgbgfbfgbfgbgfbgfbfbfbbfgbb <br> fgdgdfgdfgbdfbfgbgfbgfbfgbgfbfgbgbgbr </div> <div id="reklamy"> </div> <div id="paticka"> </div> </div> </body> </html> CSS /* CSS Document */ body { text-align:center; } #cele {width:900px; margin:0 auto; text-align:left;} #hlavicka { width:900px; height:200px; background-color:red; background-repeat:no repeat; } #menu { width:250px; margin-top:10px; background-color:rgb(0,0,255); background-repeat:repeat-y; } #telo { width:500px; margin-top:25px; margin-left:260px; background-color:rgb(0,204,0); background-repeat:repeat-y; } |
||
SwimX Profil |
#2 · Zasláno: 16. 1. 2009, 17:04:14 · Upravil/a: SwimX
uprav tyto css:
#menu { width:250px; background-color:rgb(0,0,255); background-repeat:repeat-y; float: left; } #telo { width:500px; background-color:rgb(0,204,0); background-repeat:repeat-y; float:right; } #reklamy{clear: both;} |
||
Hejna Profil * |
#3 · Zasláno: 16. 1. 2009, 17:21:31
Díky moc, to je ono
|
||
Časová prodleva: 15 let
|
0