I want to display 3 images in a row (I do not want to use tables since is not tabular data, is just one line with three images...) I have the following HTML which works OK:
<div> <span class="step"><img src="" alt="step one" class="image" ></span> <span class="step"><img src="" alt="step two" class="image"></span> <span class="step"><img src="" alt="step three" class="image"></span> </div> The problem starts when I add a border to each image (I also included a bit if text to describe what each image is about). I did the following in HTML,
<div> <span class="step">First Step <img src="" alt="step one" class="image" ></span> <span class="step">Second Step <img src="" alt="step two" class="image"></span> <span class="step">Third Step <img src="" alt="step three" class="image"></span> </div> in CSS,
.step{ width:200px; height:150px; border: 1px solid red; } I was expecting to see a box with an image and a text but instead I get a bizarre box around the text only. Any ideas on how to add the border to the span element?