如何将元素平均水平分布? [英] How to spread elements horizontally evenly?

查看:87
本文介绍了如何将元素平均水平分布?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页上有一个div容器,宽度固定,并且其中包含用于登录的表单元素.在这些元素下方有一个提交按钮,忘记密码的链接等.

I have a div container on my web page with fixed width and it contains form elements for logging in. Below these elements there are a submit button, forgotten password link etc.

碰巧最后一条线元素需要的宽度比框提供的宽度少.如何均匀地传播它们?我不要

It happens the last line elements need fewer width than the box provides. How to spread them evenly? I don't want

  • 默认

| A B C           |

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆