+ 1
How to add two <hr>tag in one line
I want to add two <hr> tag in one line As. -----text------
8 Answers
+ 2
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
/* Create three equal columns that floats next to each other */
.column {
float: left;
width: 33.33%;
padding: 10px;
height: 300px; /* Should be removed. Only for demonstration */
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<body>
<h2>Three Equal Columns</h2>
<div class="row">
<div class="column" style="background-color:#aaa;">
<hr />
</div>
<div class="column" style="background-color:#bbb;">
<p>text</p>
</div>
<div class="column" style="background-color:#ccc;">
<hr />
</div>
</div>
</body>
</html>
+ 1
You may find answer in https://www.webmasterworld.com/forum21/10025.htm
0
you can possibly display as three columns
0
Please send a code as example
0
something like the last post i sent
0
Thanks
0
Why not just:
<div id="wrapper"><hr class="inlined"> text <hr class="inlined"></div>
<style>
#wrapper {
text-align:center;
}
.inlined {
display:inline-block;
width:30%;
position:relative;
top:.25em;
}
</style>