我不能张贴图片,因为它说,我需要10个声誉张贴图片,所以这里的链接。单击此处
因为我想把一些文字放在一些边界线的前面,需要你的建议/建议的人。
发布于 2015-06-06 04:23:10
您在图像中显示的是一个字段集。
<fieldset>
<legend>I'm a Fieldset</legend>
Stuff<br>
Stuff
</fieldset>
发布于 2015-06-06 07:20:22
只是一个文字块,像这样的垂直线分开?
.lined {
display: table;
border: 1px solid;
}
.lined > div {
position: relative;
display: table-cell;
padding: 1em;
}
.lined > div + div:before {
content: "";
position: absolute;
top: 10%;
left: -1px;
width: 0;
height: 80%;
border-left: 1px solid;
}<div class="lined">
<div>The display property specifies the type of rendering box used for an element. In HTML, default display property values are taken from behaviors described in the HTML specifications or from the browser/user default stylesheet. The default value in XML is inline.</div>
<div>In addition to the many different display box types, the value none lets you turn off the display of an element; when you use none, all descendant elements also have their display turned off. The document is rendered as though the element doesn't exist in the document tree.</div>
<div>CSS is one of the core languages of the open web and has a standardized W3C specification. Developed in levels, CSS1 is now obsolete, CSS2.1 is a recommendation, and CSS3, now split into smaller modules, is progressing on the standardization track.</div>
</div>
https://stackoverflow.com/questions/30678777
复制相似问题