I want to have two images side by side centered in the page. My body width is 800px.
In Firefox 31.0, Firefox 20 and IE 11 the images are displayed that way, however in IE 8 the images are stacked vertically, they are centered horizontally with vertical blank bands approx 190px each side.
I thought that this might be due to the combined widths when side by side of close to 800px that IE 9 might be wrapping them to stack them vertically. I tried images that are narrower 300px they are still vertically stacked in IE.
All suggestions gladly received
<div class="gearSection" style="text-align:center;display: block;">
<div style="border:1px solid blue; display:inline-block; margin-left:auto; margin-right:auto;margin-top:2px;margin-bottom:2px;">
<img src="images/Hoodie_02.jpg" border="0" width="380px" height="633px" alt="Hoodie"><br><b>Hoodies</b>
</div>
<div style="border:1px solid blue; display:inline-block; margin-left:auto; margin-right:auto;margin-top:2px;margin-bottom:2px;">
<img src="images/Hat_02.jpg" border="0" width="380px" height="633px" alt="Hat"><br><b>Beanie Hat</b>
</div>
</div>