Jump to content
php.lv forumi

div inside div bidishana pa vertikali


Sephy
 Share

Recommended Posts

tatad pienemsim ka ir 2 div:<div id="div1"><div id="div2"></div></div> #div1{width:240px;height:120px;} #div2{width:200px; height:100px; margin-left:20px;} ja es ierakstu otrajam divam piemeram margin-top:10px; vinsh nevis pabidas no taa pirmaa nost bet gan rauj vinu lidzi!!! kaa shito var atrisinat(ar padding vinsh pazimee garaku div2 nevis pabida nost no augshas)

 

edit:ja norada position:relative tad ie stradaa bet mozilla un opera tapat nestradaa ;[

Edited by Sephy
Link to comment
Share on other sites

 Share

×
×
  • Create New...