Posted: Sun Sep 28, 2008 8:15 am centering an image and flash in same position
Hi all,
i want to be able to place an image of 900 x 792 on my website with it centered width only, then on top of this place my flash (swf)which is also 900 x 792.
The flash file is quite big and takes a while to load, so ive took the background image from the flash and positioned this 1st on screen so something is there showing till the flash kicks in.
I used:
Code:
<div style="position: absolute; top: 0px; left: 0px;">
My code for the image
</div>
<div style="position: absolute; top: 0px; left: 0px;">
My code for the flash
</div>
OK this works fine and looks good on my 1024 x 768 screen, however a few of my friends says they have a big gap to the right on there widescreens, so to even it out i think it would look best if i could center the image and flash so on a 1024 x 768 it will look like full screen and on a widescreen it would have equal gaps at either side..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum