Autor Zpráva
Hejna
Profil *
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
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 *
Díky moc, to je ono

Vaše odpověď


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm:

0