2
Good,
I have a problem making one ul inline thus because every time I try to hr and vertical-align always comes out of place.
This is the result you give me:
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
li {
display: inline;
padding-left: 20px;
}
a {
text-decoration:none;
color:#000000;
}
a:hover{
color:#3ba09e;
}
hr{
width:20px;
display:inline-block;
vertical-align:middle;
}
<ul>
<li><a href="#"><h4>Arquivo<h4/> <img src="http://culturalis.pt/wp-content/uploads/2015/06/bolinha.png"/><hr></hr></a></li>
<li><a href="#"><h4>Escritórios</h4> <img src="http://culturalis.pt/wp-content/uploads/2015/06/bolinha.png"/><hr></hr></a></li>
<li><a href="#"><h4>Escolas</h4> <img src="http://culturalis.pt/wp-content/uploads/2015/06/bolinha.png"/><hr></hr></a></li>
<li><a href="#"><h4>Outros</h4> <img src="http://culturalis.pt/wp-content/uploads/2015/06/bolinha.png"/><hr></hr></a></li>
</ul>
Still I don’t know how you get all that spacing between the <H4> and the image.
– Bruno Gibellino
@Brunogibellino I updated my response with your need.
– Maicon Carraro
thanks, just what I needed. But with background-color and color I can’t change hr’s color. I’m doing well?
– Bruno Gibellino
@Brunogibellino Utilizei
border-color
instead ofcolor
– Maicon Carraro
I really needed to use the H4 and when I changed the span for H4 that shaped everything. There is no way to use H4 with ul?
– Bruno Gibellino
shaped as?
– Maicon Carraro
Instead of staying inline it all got in separate lines
– Bruno Gibellino
Checks if there is no other element or selector giving conflict
– Maicon Carraro