nemec Posted December 28, 2006 Report Share Posted December 28, 2006 (edited) <!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 December 28, 2006 by nemec Link to comment Share on other sites More sharing options...
andrisp Posted December 28, 2006 Report Share Posted December 28, 2006 (edited) Ja ir zināms abu div'u platums, tad vari ievietot tos abus iekš wrapper div'a, kuram uzstādīts iekļauto div'u platuma summa. Ahh, tev tomēr laikam nav gan zināms platums. Edited December 28, 2006 by andrisp Link to comment Share on other sites More sharing options...
Delfins Posted December 28, 2006 Report Share Posted December 28, 2006 Es tavā vietā paņemtu gatavu templeitu, nav ko čakarēties. google:2,3 column design Link to comment Share on other sites More sharing options...
nemec Posted December 28, 2006 Author Report Share Posted December 28, 2006 Es tavā vietā paņemtu gatavu templeitu, nav ko čakarēties. google:2,3 column design ok, paraadi gatavu. Link to comment Share on other sites More sharing options...
Delfins Posted December 28, 2006 Report Share Posted December 28, 2006 1.) google 2.) netaisi muļķīgas quotes 3.) kaut vai šitais http://www.glish.com/css/9.asp (pirmais links no google) Link to comment Share on other sites More sharing options...
andrisp Posted December 28, 2006 Report Share Posted December 28, 2006 (edited) Delfins, tajā piemērā kreisas bloks iekš html markapa atrodas augstāk par labo bloku. nemec vēlas otrādi. PS. Papēti wikipedia rakstu markapus (pirmo lapu ne, bet rakstiem - piem., kaut vai http://en.wikipedia.org/wiki/Page_layout). Moška tas ir tas, ko tev vajag. Edited December 28, 2006 by andrisp Link to comment Share on other sites More sharing options...
nemec Posted December 28, 2006 Author Report Share Posted December 28, 2006 1.) google2.) netaisi muļķīgas quotes 3.) kaut vai šitais http://www.glish.com/css/9.asp (pirmais links no google) nu tak panjem savu piemeeru un ieraksti kreisajaa saturaa 1000 burtus 'a' bez atstarpeem. Link to comment Share on other sites More sharing options...
andrisp Posted December 28, 2006 Report Share Posted December 28, 2006 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. Link to comment Share on other sites More sharing options...
nemec Posted December 28, 2006 Author Report Share Posted December 28, 2006 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 More sharing options...
andrisp Posted December 28, 2006 Report Share Posted December 28, 2006 (edited) Skaidrs, es sākumā iedomājos, ka tu vēlies pavisam ko citu, jo markapā (html'ā) two bloks tev nāk pirms one bloka, bet vizuāli ar css tiek apmesti otrādi - one bloks nāk pirms two bloka. Edited December 28, 2006 by andrisp Link to comment Share on other sites More sharing options...
localhero Posted December 28, 2006 Report Share Posted December 28, 2006 Joprojam nevaru iebraukt ko isti tu velies. Bet nu katra zinja + - jebkursh dizains sakas ar konteineri kas satur kopaa visu lapu. Vai nu fixets width: 768px; vai arii width: 100%;talak vis limejas kopaa floatejot vai nu pa labi vai kreisi. Link to comment Share on other sites More sharing options...
Recommended Posts