Rahard Posted January 3, 2010 Report Share Posted January 3, 2010 (edited) viss okey.pats atkodu Edited January 4, 2010 by Rahard Quote Link to comment Share on other sites More sharing options...
2easy Posted January 3, 2010 Report Share Posted January 3, 2010 nu re, tu tač jau ieliki ;) Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 3, 2010 Report Share Posted January 3, 2010 Un kur ir problēma izmantot to ko jau esi uzrakstījis? (protams ciklā to noteikti nevajag, un vajag izdomāt pēc kādiem nosacījumiem tu to darīsi) Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted January 3, 2010 Report Share Posted January 3, 2010 Nu tu tak neievietosi vienu un to pašu CSS failu lapā vairākkārtīgi... Quote Link to comment Share on other sites More sharing options...
2easy Posted January 3, 2010 Report Share Posted January 3, 2010 (edited) nju labi, pirmā atbilde bij nenopietna. parasti dara tā 1) saita stila failā, piemēram, site.css nodefinē klases ar visām vajadzīgajām īpašībām priekš konkrētiem html elementiem 2) pēc tam šīs klases piešķir attiecīgajiem html elementiem vai nu statiski uzreiz html kodā, vai dinamiski ar php kr4 php pusē tev jāprot izdarīt tikai apmēram tik daudz $sClass = 'blabla'; echo '<div class="' . $sClass . '">lalala</div>'; Edited January 3, 2010 by 2easy Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.