0

While using struts2 tags I wrote jsp as

<s:textfield        name="NumOfSeats"       label="No. of Berths"/>
<sx:datetimepicker  name="date"             label="Date of journey"     displayFormat="dd-MM-yyyy" />
<s:textfield        name="trainNo"          label="Train no"/>

I got my page like this(Lables and textfilelds at same height)

Lables and textfilelds at same height

As I need datetimepicker I added this <sx:head></sx:head>. Then page became like this(label and text field at different heights)

label and text field at different heights

What can I do for making them to align at same height.

Pawan
  • 423
  • 6
  • 28

0 Answers0