【发布时间】:2017-01-10 17:36:40
【问题描述】:
我尝试这样做http://prntscr.com/cdbzsu,但看起来我对 css float 不太擅长:(。
我试着看别人的教程,但还是不行。
请有人帮忙。
这是我到目前为止所做的。
.edit-text {
font-size: 13px;
}
.edit-text p {
width: 100%;
}
.edit-text ul {
float: left;
}
.edit-text ul li {
list-style: circle inside;
}
.edit-text img {
float: right;
width: 102px;
height: 130px;
}
.edit-text a {
clear: both;
background-color: #002B0F;
color: #FFFFFF;
padding: 3px 15px;
}
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<div class="edit-text">
<p>Vous-voulez nous consulter pour vous aider à réviser votre vitrine commerciale?</p>
<p>Ce service inclut: </p>
<ul>
<li>La révision</li>
<li>La mise en page de la vitrine commerciale</li>
<li>La correction et l’adaptation de mots clés pour le SEO</li>
<li>Service payant</li>
</ul>
<a href="#" title="Click here">Cliquez ici pour envoyer la demande de consultation</a>
<img src="http://www.holidaymood.com/images/ContactGirl.png" alt="Image">
</div>
</body>
</html>
【问题讨论】:
-
您的实际问题/问题是什么?
-
我无法像快照图像中那样排列文字和照片
-
我提供了一个更能代表你的问题的sn-p:结果
标签: html css image list css-float