-4

我需要格式化一小段文本,以便它显示在一个圆圈内 - 例如http://stredtech.co.uk/YMD/

需要在php中完成

有什么建议么?

4

1 回答 1

2

现场演示

用这个html

<div class="circleBase type6"><i>We honestly <br>
feel that whilst YMD <br>are acting on our behalf<br>
we will receive the best <br>deal for the future.</i> 
<br><br>Mr. and Mrs. C <br>Essex</div>

还有这个css

.type6 {
width: 200px;
height: 200px;
background: #606062;
text-align: center;
display: table-cell;
vertical-align: middle;
color: white;
}
.circleBase {
-webkit-border-radius: 999px;
-moz-border-radius: 999px;
border-radius: 999px;
}
于 2013-06-17T12:32:41.547 回答