[thelist] falsh <object>

Aleem Bawany aleem.bawany at utoronto.ca
Mon Jan 20 16:53:08 CST 2003


> it would appeart hat the right float is causing the
> problems :(

providing a link always makes it easier to help understand
and tackle the problem. if you are trying to float the
three objects (image:flash:image) side-by-side you need to
float the flash object as well:

<img style="float:left" ...>
<div style="float:left"><FLASH OBJECT></div>
<img style="float:right" ...>

If I recall correctly though, this _might_ have some
unwanted effects in which case you can try (probably
a better solution):

<div style="float:left">
	<img style="float: left">
	<div style="float: right"><FLASH OBJECT></div>
</div>
<img style="float: right">

and if you want all this to be centered, then you need to
add a width: 50% to the first div:

<div style="float:left; width: 50%">
	<img style="float: left">
	<div style="float: right"><FLASH OBJECT></div>
</div>
<img style="float: right">

When working with DIVs and BLOCK elements such as images,
it's best to visualize each one as a box and usually
nesting makes things a lot easier.

Since I noticed a td tag in the code you pasted, if you are
using tables then why don't you use a nested table to achieve
this, or maybe consider going table-less.

P.S: don't forget to trim your posts

aleem

[ http://members.evolt.org/aleem/ ]




More information about the thelist mailing list