Jump to content
php.lv forumi

liquid column


nemec

Recommended Posts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSStitle>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css" />

.one
{
  float: left;
  background: #e4e4e4;
}
.two
{
  float: right;
  background: #12ee12;

}
</style>


</head>

<body>

<div class="two">
two
</div>
<div class="one">
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

</div>
</body>
</html>

 

 

kaa var panaakt, lai div class="two" buutu piekaartots pa labi no div class="one"????

Edited by nemec
Link to comment
Share on other sites

nemec, tad varbūt tev nav svarīgi, lai kreisais bloks markapā atrastos zem labā bloka ?

 

Jā nav svarīgi, tad pievienojos Delfinam - parasto piemēru ir pa pilnam. Un garos stringus vajag php kodā sadalīt, lai "nelauztu" dizainu.

paskaidro man, kas ir markups un kas ir zem vai virs bloka.

neiet runa par garajiem stringiem. ja videejaa kolona izstiepjaas (piemeeram tabula ar 10 kolonnaam - taadu jau negriziisi tak).

es runaaju par to, ka ja man iztiepjaas body vairaak par 100%, kaa piespraust uz labo pusi to labo bloku. tabulas efekts.

man biezhi gadaas, ka sagriezhu dizainu blokos. bet tad kaadaa briidii, saturaa paraadaas tabula ar 10 kolonnaaam, vai flash kuru vajag mega platu, vai veel kas. un ir jaatgriezhaas pie neeertaam tabulaam.

Link to comment
Share on other sites

×
×
  • Create New...