theNTH Posted December 11, 2007 Report Share Posted December 11, 2007 Pirmo reizi rakstu šajā diskusijas forumā, jo ļoti savadzejās palīdzību un arī turpmāk vajadzēs. :) Tātad jau vairākas reizes nerubiju kā var uzlikt tā lai teksts būtu no abām malām pa 100px atstarpi. Šeit būs bilde ja nesaprotat :/ http://img136.imageshack.us/my.php?image=screen137ir7.jpg Link to comment Share on other sites More sharing options...
andrisp Posted December 11, 2007 Report Share Posted December 11, 2007 Tev tā vidējā kolumna ir ar dinamisku platumu ? Ieliec to tekstu iekš block elementa (piem., div) kam norādīts CSS margin: 0 100px; Link to comment Share on other sites More sharing options...
theNTH Posted December 11, 2007 Author Report Share Posted December 11, 2007 (edited) Sorry, Bet tā ir background bilde. Teksts ir div`ā saturs un tam ir uzlikta tā background bilde. :/ div.saturs { background-image: url(images/bgg.gif); background-color:gray; width:800px;height:auto; border:1px solid black; } EDIT: VISS AIZGĀJA, Paldies. TL Edited December 11, 2007 by theNTH Link to comment Share on other sites More sharing options...
marcis Posted December 12, 2007 Report Share Posted December 12, 2007 ir tāds paramatrs "auto" priekš height? Link to comment Share on other sites More sharing options...
Kristabs Posted December 12, 2007 Report Share Posted December 12, 2007 Ir, pielietojums apmeeram shaads: .h div{ height:10px; } .nh{ height:auto; } <div class="h"> <div></div> <div class="nh"></div> </div> Link to comment Share on other sites More sharing options...
andrisp Posted December 12, 2007 Report Share Posted December 12, 2007 marcis, ja nemaldos, tad auto ir pieejams jebkuram propertijam. Link to comment Share on other sites More sharing options...
mefisto Posted December 12, 2007 Report Share Posted December 12, 2007 Nu nu , nepārspīlē tak. Link to comment Share on other sites More sharing options...
andrisp Posted December 12, 2007 Report Share Posted December 12, 2007 Ok, paskatījos - tiešām pārspīlēju stipri. :] Link to comment Share on other sites More sharing options...
theNTH Posted December 12, 2007 Author Report Share Posted December 12, 2007 Velviens jautajums, Netaisīšu jaunu tēmu bet ierakstišu šeit pat. Kā var div`am uzlikt lai border buutu tikai no kreisas un labas malas, nevis no lejas un augšas. ;] Link to comment Share on other sites More sharing options...
bubu Posted December 12, 2007 Report Share Posted December 12, 2007 border-top: 0px; border-bottom: 0px; border-left: 1px solid black; border-right: 1px solid black; Link to comment Share on other sites More sharing options...
theNTH Posted December 12, 2007 Author Report Share Posted December 12, 2007 Paldies, bubu. Sanāca. Link to comment Share on other sites More sharing options...
andrisp Posted December 12, 2007 Report Share Posted December 12, 2007 border-top: 0px; border-bottom: 0px; Btw, šis nav vajadzīgs. Link to comment Share on other sites More sharing options...
bubu Posted December 12, 2007 Report Share Posted December 12, 2007 To es tikai parādīju, lai saprastu ko un kā var rakstīt... ja jau acīmredzot manuāli cilvēks nelasa. Un nevar jau zināt, vai kaut kur citur css failā tam pat elementam stāv border:1px :) Link to comment Share on other sites More sharing options...
theNTH Posted December 12, 2007 Author Report Share Posted December 12, 2007 (edited) Bija bija, to noņemu un uzliku tavu doto. Edited December 12, 2007 by theNTH Link to comment Share on other sites More sharing options...
Evi Posted December 13, 2007 Report Share Posted December 13, 2007 border-top: 0px;border-bottom: 0px; kas jums tas par stilu raxtiit '0px', vai nav vienkaarshaak/pareizaak: border-top:0; ? Link to comment Share on other sites More sharing options...
Recommended Posts