<div>s seem to behave differently
Posted: Fri Sep 30, 2005 9:31 am
Hello,
I have the following code:
On one site, with the same browser, this produces 3 images side-by-side.
On my page, they are stacked on top of each other.
Is there any parameter that determines the behaviour of <div> in this way?
Many thanks
Mark
I have the following code:
Code: Select all
<div class="float">
<img src="image1.gif" width="100" height="100"
alt="image 1" /><br />
<p>caption 1</p>
</div>
<div class="float">
<img src="image2.gif" width="100" height="100"
alt="image 2" /><br />
<p>caption 2</p>
</div>
<div class="float">
<img src="image3.gif" width="100" height="100"
alt="image 3" /><br />
<p>caption 3</p>
</div>On my page, they are stacked on top of each other.
Is there any parameter that determines the behaviour of <div> in this way?
Many thanks
Mark