jsp实现一条横线中间有字的样式

实现样式: ————————————————————————————————————————————————————   xxxxxx   ————————————————————————————————————————————————————————————


实现代码:<div style="background:#fff;text-align: center;margin:0 auto;margin-bottom:-18px; 90px;position:relative;">XXXXXXXXX</div><hr/>

原文地址:https://www.cnblogs.com/circlebreak/p/6186008.html