 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
keefy
Joined: 28 Sep 2007
Posts: 3
|
| 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..
But im lost how to do this...
Can any one help ?
Thanks |
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8426
Location: Castle Pines North, CO USA
|
| Posted: Sun Sep 28, 2008 12:01 pm |
|
|
You won't be able to have it centered and absolutely positioned. You will need to pick one or the other.
_________________
Corey
Residential Office Solutions | Mile High Merchant Accounts | Expression Web Blog |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|