Jump to content
php.lv forumi

3 <div>


leisure

Recommended Posts

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 by leisure
Link to comment
Share on other sites

×
×
  • Create New...