Topic: Floats and wraps, an ongoing problem |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Phoenix |
posted 12-31-2005 22:24
Floats and wraps, an ongoing problem.. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
posted 01-01-2006 13:21
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 |
posted 01-01-2006 23:55
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 |
posted 01-02-2006 00:43
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 |
posted 01-02-2006 06:07
Thanks for all of the tips, I hope to have time tomorrow to mess around with this stuff. |