bra Posted August 23, 2006 Report Share Posted August 23, 2006 Sakiet kā ar CSS palīdzību panākt lai <div> tagi (konkrēti ar dažādiem id) attēloties nevis viens zem otra bet blakus Paldies jums jau iepriekš Link to comment Share on other sites More sharing options...
bubu Posted August 23, 2006 Report Share Posted August 23, 2006 Viens variants ir ar float: left Link to comment Share on other sites More sharing options...
koko Posted August 23, 2006 Report Share Posted August 23, 2006 otrs variants ir kombinēt float left un float right... Un trešais variants ir pozicionēt absolūti :) Link to comment Share on other sites More sharing options...
KAC Posted August 23, 2006 Report Share Posted August 23, 2006 vari speeleeties ar display: inline Link to comment Share on other sites More sharing options...
bubu Posted August 23, 2006 Report Share Posted August 23, 2006 Tad jau nav jēgas <div> izmantot. Jo <div> ar display:inline ir tas pats, kas <span> (un arī otrādi - <span> ar display:block ir tas pats, kas <div>). Link to comment Share on other sites More sharing options...
Recommended Posts