Sephy Posted March 20, 2008 Report Share Posted March 20, 2008 (edited) tatad pienemsism ir div: <div id="tekstscentraa">shito vajaga pabidit</div> un pienemsi #tekstscentraa{height:40px; background:url('smuka bilde');}... kaa lai pabida lai texts butu uz leju!!(bet lai bilde paliek uz vietas!!!!) edit:man nevajag centraa bet vienkarshi pabidit ;] Edited March 20, 2008 by Sephy Link to comment Share on other sites More sharing options...
Aikss Posted March 20, 2008 Report Share Posted March 20, 2008 Ar padding nesanāk? padding: 30px 0px 0px 0px; vai padding-top: 30px; Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 nee jo tad pabidaas ari mans atels bet man vajag lai pabidas tikai teksts Link to comment Share on other sites More sharing options...
Evi Posted March 20, 2008 Report Share Posted March 20, 2008 Uzliec droshiibas peec savam smukajam bg - background:url('smuka bilde') top no-repeat; vai kaa tev vinju vajag repiitot. Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 Uzliec droshiibas peec savam smukajam bg - background:url('smuka bilde') top no-repeat; vai kaa tev vinju vajag repiitot. vina repeatojas pa x tas jau ir uzlikts ;] Link to comment Share on other sites More sharing options...
Evi Posted March 20, 2008 Report Share Posted March 20, 2008 nu un 'top' neliidz ? Link to comment Share on other sites More sharing options...
andrisp Posted March 20, 2008 Report Share Posted March 20, 2008 Izmantojot padding, background bilde NEKĀDI nevar mainīt savu atrašanās vietu. Tu mums te kaut ko fleitē. Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 Izmantojot padding, background bilde NEKĀDI nevar mainīt savu atrašanās vietu. Tu mums te kaut ko fleitē. laikam bushu neperecizi pateicis ko man vajag ;D. man isteniba ir shitaa: <div id="tekstscentraa"><a HREF="#">shito vajaga pabidit</a></div> #tekstscentraa a{height:40px; background:url('smuka bilde');} Link to comment Share on other sites More sharing options...
andrisp Posted March 20, 2008 Report Share Posted March 20, 2008 nu nodefinēt to backgroundu <div>'am nevis <a> lementam. Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 nu nodefinēt to backgroundu <div>'am nevis <a> lementam. nedrisktu es tajaa div likshu vel kadus 3 -4 linkus ar bilditem ;] Link to comment Share on other sites More sharing options...
andrisp Posted March 20, 2008 Report Share Posted March 20, 2008 Nu tad liec to paddingu <a> elementam. Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 (edited) Nu tad liec to paddingu <a> elementam. ok paldies tas stradaa puslidz normali(pagaidam, jo nakotnee paredzu problemas ar to ka man nevajadzes visiem linkiem to paddingu ;D) edit;problemas atrisinaju uzliekot a klasi xD Edited March 20, 2008 by Sephy Link to comment Share on other sites More sharing options...
Sugarfree Posted March 20, 2008 Report Share Posted March 20, 2008 (edited) #tekstscentraa { height: 40px; background: url('smuka bilde'); } #tekstscentraa a { color: #ff9933; padding: ???; } edit:man nevajag centraa bet vienkarshi pabidit ;] Kā jau te teica, lieto tad vienkārši lieto - padding... Ja reiz risinajums ir rokā, tad neko... Edited March 20, 2008 by Sugarfree Link to comment Share on other sites More sharing options...
Sephy Posted March 20, 2008 Author Report Share Posted March 20, 2008 Hmm... kaut ko tādu pirmo reizi redzu: a { height: 40px; background: url('smuka bilde'); } Pareizāk būtu laikam tomēr tā: #tekstscentraa { height: 40px; background: url('smuka bilde'); } #tekstscentraa a { color: #ff9933; padding: ???; } Kā jau te teica, lieto tad vienkārši lieto - padding... [/quotepati bilde ir links ar uzraxtu virsuu taka shitjas neder ;] Link to comment Share on other sites More sharing options...
Sugarfree Posted March 20, 2008 Report Share Posted March 20, 2008 pati bilde ir links ar uzraxtu virsuu taka shitjas neder Tad nav ērtāk uzreiz uz tās pašas bildes uzdrukāt arī to tekstu izmantojot kaut vai PS un lieta darīta? Link to comment Share on other sites More sharing options...
Recommended Posts