search

Home  >  Q&A  >  body text

javascript - Why are the labels and input boxes written in <label> arranged in one line, but the same labels and input boxes written in <ion-item> are arranged in two lines up and down?

Why are the labels and input boxes written in <label class="item item-input"></label> arranged in one line, while the same labels and input boxes are written in <ion-item class ="item-icon-right"></ion-item> will be arranged in two rows?

给我你的怀抱给我你的怀抱2779 days ago751

reply all(1)I'll reply

  • 我想大声告诉你

    我想大声告诉你2017-05-19 10:11:18

    **Inline tags and block-level tags.
    Block-level tags occupy the entire line, look at the dom structure. **

    reply
    0
  • Cancelreply