FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

full page table?

 


CyanEyed
hi

im creating a new flash site and as a test page i created this: http://mumtaz-uk.info/ct

ive got the flash there and working, but i need it centered vertically. if you look at the source code, its all there. i tried using tables (valign attribute) but i still cant get it to work properly.

the flash object itself if vertically centered within the table, but i need the table to be full page so that the flash object is perfect center of the page regardless of screen resolution.

ive tried everything i can think of and google isnt helping.

anyone know how to get it working?? or another way of getting it perfectly centered without tables??

thx

CyanEyed

ps.... Dreamweaver shows it correctly in design view, but FF2 and IE7 dont
sonam
I am always using valign="middle" for td definition and this is working for me. But I didn't try with flash. In your source you are write for td definition style="vertical-align:middle". Maybe if you change this in valign="middle" your flash will get center.

Sonam
CyanEyed
the flash file is centered already. i just need to get the table to always fill the page so that the flash file is always in the middle of the page
aningbo
try adding <center> right after body, if those codes above doesn't work.
CyanEyed
try adding <center> right after body, if those codes above doesn't work.

didnt work. center is for horizontal alignment and has been phased out by div align as far as i know

anyother ideas?
sonam
Hi,
I am little bit search on google and find this instructions how to stretch table height in right way:

http://apptools.com/examples/tableheight.php

Hope it will help.

Sonam
CyanEyed
thank you. it took me a while to get it working perfectly, but its done the job.

Thank you

CyanEyed
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.