Evi Posted October 19, 2008 Report Posted October 19, 2008 hi, kaa juus novietojas txt un tam sekoloshu input vai select vienaa liinijaa, uz dazhaadiem browseriem izskataas nedaudz savaadaak. text <input />
andrisp Posted October 19, 2008 Report Posted October 19, 2008 Vispār jau tiem defaultā vajadzētu būt vienā līnijā. Bet vari paeksperimentēt ar vertical-align input elementam.
Evi Posted October 19, 2008 Author Report Posted October 19, 2008 vertical-align inputam nedereeja, ieliku labelam float:left un iztaisnojaas. Bet ja ir links un inputs, tad ar floatu man kkaa nesanaak nostaadiit :/
Kristabs Posted October 20, 2008 Report Posted October 20, 2008 linkam display:block un attiecīgus margin/padding, lai saliktu kā vajag.
Evi Posted October 20, 2008 Author Report Posted October 20, 2008 (edited) Ja linkam ieliek display:block, tad inputs aiziet otraa rindaa! Ar position:absolute linku var piedabuut vienaadaa vietaa, bet gribeejaas kkaa skaistaak :) Edited October 20, 2008 by Evi
Kristabs Posted October 21, 2008 Report Posted October 21, 2008 Tas bija domāts kā papildinājums float`am
Recommended Posts