Reputation: 196489
i have the following code
<img src="/Content/Images/Icons/phone2.png"> <b>Phone Numbers:</b> (No orders via Phone at this time)<br />
and it looks fine in firefox:
but when i open it in chrome, it shows up like this:
does anyone know why chrome would raise the second part of this text ?
Upvotes: 0
Views: 1598
Reputation: 3573
It looks like the result of different browser default styles applying to the various elements in your source. Try to set a vertical-align
property for the <b>
and <img>
and test it again, for example:
b,img{
vertical-align:baseline;
}
Upvotes: 0
Reputation: 1252
Use valign attribute in your image tag, or CSS vertical-align property applied to the image.
Upvotes: 2