My webpage includes a <div>
with various images:
<div>
<img src="pic1.jpg" />
<img src="pic2.jpg" />
<img src="pic3.jpg" />
</div>
However, whenever I add a hyperlink to any of the images, it causes an unwanted line break.
I have attempted to address this issue by applying
display:block; display:inline; float: left
to the images. Unfortunately, the line break persists.
In my specific case, using a <table>
is not an option. How can I resolve the line break problem without resorting to a <table>
?