Horizontally space out my checkboxes using css? [closed]

橙三吉。 提交于 2019-12-02 03:03:07

Increase the left and right margin

margin: 10px 20px;

You can define the CSS class on the containing element's class AND the input tag, like this:

.timesheet-daily-entry-fields-container input {
    margin: 10px;
    padding: 10px;
    display:inline-block;
    overflow:hidden
}

That'll save you having to add a class to each input element. To space them out more, increase the margin.

Wel you do not even have labels yet. Have you tried that? A label and some spaces would work wonders.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!