我一直试图用我的Fontastic.me图标对我的文本。
这是我的密码:
HTML:
<html>
<div id="info">
<ul>
<li id="chat"><span class="icon-comment-discussion"></span><p>We offer the best & simplest chat system on the web.</p></li>
</ul>
我试图将我的h2与标题的右侧对齐,同时保持与现在相同的垂直方向,但float right似乎不起作用。有什么想法吗?
<div class="header-bg">
<h1>
Heading
</h1>
<h2>
this is where you write more things
</h2>
</div>
<ul>
<li><a href="#home">Home</a></li>
<li><a h
我完全是网络编程的初学者,所以我的问题是:
我现在所拥有的。但是,只要我将position: absolute添加到两个清单中,div-element的高度就会减少到1px,这是我不想要的。
div {
position: relative;
border: 1px blue solid;
}
ul,
ol {
border: 1px red solid;
}
div {
position: relative;
border: 1px blue solid;
}
ul,
ol {
border: 1px red solid;
position: absol