Topic: Floats and wraps, an ongoing problem (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Phoenix |
![]() Floats and wraps, an ongoing problem.. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() Hm... first thing I usually do with such things is makeing sure I've specified all margins, paddings and borders explicitly - some defaults vary from browser to browser. |
Lunatic (VI) Inmate From: under the bed |
![]() Well, images are not block level by default. If you simply place them one after another in your code, without floating them, they will naturally sit side by side (it is important to note that adding a float value of left or right to an element changes it's display value to block). |
Maniac (V) Inmate From: PA, US |
![]() quote:
code: <div id="contain"> <img src="img1.jpg" width="250" height="250" alt="" border="0" /><img src="img2.jpg" width="250" height="250" alt="" border="0" /><img src="img2.jpg" width="250" height="250" alt="" border="0" /> </div>
|
Bipolar (III) Inmate From: Phoenix |
![]() Thanks for all of the tips, I hope to have time tomorrow to mess around with this stuff. |