【发布时间】:2015-01-10 05:31:15
【问题描述】:
最近从一位新客户手中接管了一个网站。试图在标题中创建两个 div。左边是标志。很好,那里没有问题。但是右边的 div 有两个元素,它们都应该在那个 div 的右边。尝试向右浮动并更改边距、填充等。没有太多工作。大问题是顺序应该是社交图标,然后是 MailChimp 小部件,相反,它是相反的。这是我目前用于该区域的 CSS 的内容:
#theme-logo {
width: 50%;
float: left;
margin: 0;
}
#theme-header {
min-height: 60px;
}
#theme-header .tabcontent ul li.widget {
position: relative;
float: right!important;
padding: 0px 20px;
}
#theme-header .tabcontent {
position: relative;
float: left;
top:0px;
width: 50%;
}
#theme-header .tabcontent ul {
float: left;
list-style: outside none none;
margin: 0px 0px 0px 0px;
padding: 0px;
}
【问题讨论】:
-
你说的是列表项吗?
-
可以加html吗?
标签: html css widget html-lists