如何在 Dreamweaver 中为项目符号列表编码 2 列?
How to code 2 columns for bullet list in Dreamweaver?
我想为第一列列出 3 分,为第二列列出 3 分。我希望 "P" 居中。
<div class="maindiv">
<p>This is a list of Adobe softwares</p>
<ul>
<li>Dreamweaver</li>
<li>Photoshop</li>
<li>Flash</li>
</ul>
<ul>
<li>Indesign</li>
<li>Illustrator</li>
<li>After Effects</li>
</ul>
</div>
见fiddle
下面给出的是我用过的HTML
<div class="maindiv">
<p class="centertext">This is a list of Adobe softwares</p>
<div class="floated">
<ul>
<li>Dreamweaver</li>
<li>Photoshop</li>
<li>Flash</li>
</ul>
</div>
<div class="floated">
<ul>
<li>Indesign</li>
<li>Illustrator</li>
<li>After Effects</li>
</ul>
</div>
</div>
还有我用过的CSS
.floated {
float:left;
width:50%;
}
.centertext {
text-align:center;
}
我想为第一列列出 3 分,为第二列列出 3 分。我希望 "P" 居中。
<div class="maindiv">
<p>This is a list of Adobe softwares</p>
<ul>
<li>Dreamweaver</li>
<li>Photoshop</li>
<li>Flash</li>
</ul>
<ul>
<li>Indesign</li>
<li>Illustrator</li>
<li>After Effects</li>
</ul>
</div>
见fiddle
下面给出的是我用过的HTML
<div class="maindiv">
<p class="centertext">This is a list of Adobe softwares</p>
<div class="floated">
<ul>
<li>Dreamweaver</li>
<li>Photoshop</li>
<li>Flash</li>
</ul>
</div>
<div class="floated">
<ul>
<li>Indesign</li>
<li>Illustrator</li>
<li>After Effects</li>
</ul>
</div>
</div>
还有我用过的CSS
.floated {
float:left;
width:50%;
}
.centertext {
text-align:center;
}