I'm having an issue with setting margins for a span within a div. Despite using margin:0 auto, it's not working as expected. Any suggestions on how to resolve this?
html
<div>
<span>
<h3>Paris Eurostar Breaks</h3>
<p>Curabitur fringilla mauris interdum nec magna</p>
</span>
</div>
css
div{
width:465px;
min-height:201px;
}
div span{
display:inline-block;
color:#FFF;
border-bottom:1px #FFF solid;
border-top:1px #FFF solid;
margin:0 auto;
}
Desired Output