wudu Posted December 3, 2005 Report Share Posted December 3, 2005 (edited) ir galvenais divs un ieksh vinja 2 vertikaalas slejas. 1. divs (zilaa kraasaa) ir uzlikts kaa float:left lai vareetu normaali paraadiit 2. sleju (zaljaa kraasaa). 1. diva augstums ir nezinaams. vajag, lai gadiijumaa, ja vinjsh paarsniedz galvenaa diva (sarkanais) augstumu, vinjsh palielina arii taa augstumu nevis vienkaarshi "izbrauc cauri". izkaartojums: http://wudu.no.lv/stuff/css_01.php kods: <div style='border:1px solid red; width:500px; min-height:200px; margin:0 auto;'> <div style='border:1px solid blue; width:100px; height:300px; float:left;'>1</div> <div style='border:1px solid green; margin-left:100px; height:100px;'>2</div> </div> Edited December 3, 2005 by wudu Link to comment Share on other sites More sharing options...
Forbidden Posted December 3, 2005 Report Share Posted December 3, 2005 (edited) Vari izmēģināt display: table, galvenajam divam. Edited December 3, 2005 by Forbidden Link to comment Share on other sites More sharing options...
wudu Posted December 3, 2005 Author Report Share Posted December 3, 2005 =] aizgaaja, paldies Link to comment Share on other sites More sharing options...
hmnc Posted December 3, 2005 Report Share Posted December 3, 2005 muehe... radioqbs.lv .... psc :D Link to comment Share on other sites More sharing options...
Recommended Posts