CSS: move a “float:right” element to top (to align with the first element of the list)

前端 未结 2 1412
渐次进展
渐次进展 2021-01-05 16:16

I\'ve a sequence of elements and the last one has css \"float:left\".

I would like to display it at the same height of the first element and not on the bottom of th

2条回答
  •  天涯浪人
    2021-01-05 17:07

    You could float the last field to the right and the others to the left (assuming there is enough horizontal space) or use absolute positioning or reorder the blocks with javascript; but since this is apparently Drupal, can't you just reconfigure the field weights?

提交回复
热议问题