div umplere spatiu ramas
Last Updated: Jul 22 2010 00:09, Started by
alin19
, Jul 14 2010 08:46
·
0
#1
Posted 14 July 2010 - 08:46
ma tot chinui sa caut pe net cum sa setez in css ca un div sa umple spatiul ramas;
ex <div id="parent"> <div id="fix1" > </div> <div id="dinamic"> </div> <div id="fix2> </div> </div> #parent { width:100%; } #fix1 { float:left width:100px; } #fix2 { float:right; width:200px; } #dinamic { float:left; width: .... } stiu ca merge cu js dar cautam cu css, tot gasesc pe google diferinte variante dar nici una nu pare sa mearga. |
#3
Posted 22 July 2010 - 00:09
<style type="text/css"> #parent { width:100%; overflow: hidden; } #fix1 { float:left; width:100px; background: #33FF66; } #fix2 { float:right; width:200px; background: #33CC66; } #dinamic { overflow: hidden; } </style> <div id="parent"> <div id="fix1"> fix 1 </div> <div id="fix2"> fix 2 </div> <div id="dinamic"> dinamic 1 </div> </div> Edited by unu, 22 July 2010 - 00:10. |
Anunturi
Bun venit pe Forumul Softpedia!
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users