signis Posted November 24, 2007 Report Share Posted November 24, 2007 ir ar css+js kaut kas taads iespeejams? nu ir defineets lauks, piem 200px kuraa mainaas teksts. ja teksts nelien 200px, tam tiek mainiits fonta izmeers. vai var kaa noteikt lien, vai nelien? Link to comment Share on other sites More sharing options...
Evi Posted November 24, 2007 Report Share Posted November 24, 2007 hmm varbuut skaiti vaardus teikumaa, ja ir teikumaa vairaaka kaa piem 10 vaardi tad fontu pieshkjir mazaaku, bet tas buus taa apmeeram. Link to comment Share on other sites More sharing options...
andrisp Posted November 24, 2007 Report Share Posted November 24, 2007 Ar JS to tekstu ieliec kādā neredzamā (vai arī nopozicionē to elementu ārpus redzamās zonas) span elementā un tad nosaki šī elementa platumu. Par to kā noteikt platumu: http://www.google.lv/search?hl=lv&q=js+element+width Link to comment Share on other sites More sharing options...
Recommended Posts