leisure Posted April 29, 2006 Report Posted April 29, 2006 (edited) Kaa pareizi nopozicioneet 3 <div> vienaa rindaa???? (25%, 50%, 25%) kreisais div ir itkaa ok, videejais nez kapee iet uz augshu kk gabalinju, bet 3ais akal ir labajaa pusee nosliideejis zemu... .div1 { MARGIN-TOP: 10; MARGIN-BOTTOM: 10; MARGIN-RIGHT: 5; MARGIN-LEFT: 20; PADDING-TOP: 10px; PADDING-BOTTOM: 10px; border: 1 solid; float: left; width: 250; } .div2 { MARGIN-TOP: 10; MARGIN-BOTTOM: 10; MARGIN-RIGHT: auto; MARGIN-LEFT: auto; PADDING-TOP: 10px; PADDING-BOTTOM: 10px; border: 1 solid; float: none; width: 50%; } .div3 { MARGIN-TOP: 10; MARGIN-BOTTOM: 10; MARGIN-RIGHT: 20; MARGIN-LEFT: 20; PADDING-TOP: 10px; PADDING-BOTTOM: 10px; border: 1 solid; float: right; width: 25%; } Edit: tad kad njemu 2us <div> tad viss sanaak!! Edited April 29, 2006 by leisure
Delfins Posted April 29, 2006 Report Posted April 29, 2006 (edited) Internetā ir ļoti daudz strādājošu piemēru.. nebūtu slinks, pameklētu.. http://glish.com/css/2.asp PS: tev ir kļūda - float:left jābūt visur Edited April 29, 2006 by Delfins
Recommended Posts