I have an HTML div element that just isn't behaving right when I resize the screen. The title pretty much sums it up:
<div class='serveMessage'><strong>Fun fact:</strong> over 1,259,468 American students fail every year!</div>
I've tried removing the &_nbsp; but no luck :(
Here is what I want it to look like, with bold text: https://i.sstatic.net/MqRZU.jpg
However, this is how it appears with the strong tag: https://i.sstatic.net/o9Ubx.jpg
Here's the CSS code involved:
.content .serveMessage {
margin: 0 8px;
font-family: 'Raleway', sans-serif;
font-size: 14px;
color: #63827b;
display: flex;
align-items: center;
justify-content: center;
padding: 11px 0;
text-align: center; }
Any help would be greatly appreciated!