Forums

This topic is locked

problem

Posted 19 Jun 2003 06:21:12
1
has voted
19 Jun 2003 06:21:12 james wood posted:
On my site:

b2b.nbkayaking.com

I can't get my flash 5 header to move all the way to the right of the inner margin without a horizontal scroller appearing. Also my flash header moves off the screen when the browser window in reduced in size, could this be because of the fact that it is nested in a layer not a layout cell

Replies

Replied 19 Jun 2003 10:15:49
19 Jun 2003 10:15:49 Julio Taylor replied:
The problem with the flush and the 'off the screen' thing is that you're using <i>absoulte</i> positioning to place the Flash object, which means that the object will always be in the same place, relative to the window in which is appears, and not the table in which it is contained.
<pre id=code><font face=courier size=2 id=code>
&lt;div id="Layer2" style="position:absolute; left:112px; top:35; width:750;...
</font id=code></pre id=code>
You're using a DIV layer to contain the Flash object- the layer will always be 112px from the left edge of your window, irrespective of the other objects. If you change your positioning attributes of the DIV tag, the problem will be resolved, as the item will be relative to the table in which it is contained and not the window in which it appears.

hope that helps.

------------------------
Julio

PHP | MySQL | DWMX

ICQ: 19735247
MSN:

Reply to this topic