Forums

This topic is locked

Align Vertically

Posted 01 Mar 2004 04:25:17
1
has voted
01 Mar 2004 04:25:17 Robert Brennan posted:
I have an 804 x 604 Dreamweaver 4 table with borders that hold an 800 x 600 inserted Flash 5 file align center. It fits perfectly in 1024 x 768 and sticks to the top of the page in higher resolutions (i.e. 1280 x 1024). How can I make this page center top to bottom or vertically in any size resolution (1280 x 1024 and higher)? I’ve seen other web pages accomplish this.

Example of URL that centers in all 3 major resolutions: www.monarch-solutions.com/

Thanks,

Replies

Replied 01 Mar 2004 16:35:47
01 Mar 2004 16:35:47 Wayne Hultum replied:
Try putting your table in a table that has values of width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"

hope it help
Replied 08 Mar 2004 19:46:58
08 Mar 2004 19:46:58 Robert Brennan replied:
No luck...any other suggestions?
Replied 09 Mar 2004 15:19:00
09 Mar 2004 15:19:00 Christian Sen replied:
Hi there!

I have experienced the same problem. Even though I set the table to 100% both width and height, there's allways a glitch at the bottom, and this is really pissing me off cause when you refresh the page it fits perfectly.

Keeping track of this post, hoping someone can reply with an answer soon.

Cool site by the way! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>


Regards,
Sarre
Replied 11 Mar 2004 15:06:15
11 Mar 2004 15:06:15 Dave Thomas replied:
u forgot to mention the vertical alignment, otherwise the default will kick in and set it to the top of the page.

valign="middle"

<pre id=code><font face=courier size=2 id=code> width="100%" height="100%" border="0" align="center" valign="middle" cellpadding="0" cellspacing="0"</font id=code></pre id=code>

now your movie sits in the middle both vertically and horizontally.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 12 Mar 2004 07:43:17
12 Mar 2004 07:43:17 Robert Brennan replied:
Where do we put this code exactly? Are building a table within a table? Can you be more specific...thanks in advance for your input.

u forgot to mention the vertical alignment, otherwise the default will kick in and set it to the top of the page.

valign="middle"

<pre id=code><font face=courier size=2 id=code> width="100%" height="100%" border="0" align="center" valign="middle" cellpadding="0" cellspacing="0"</font id=code></pre id=code>

now your movie sits in the middle both vertically and horizontally.

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com
Replied 12 Mar 2004 18:43:05
12 Mar 2004 18:43:05 Dave Thomas replied:
they are the parameters for a table being created, for you to nest your flash movie or another table in.

<font color=red><pre id=code><font face=courier size=2 id=code> &lt;table width="100%" height="100%" border="0" align="center" valign="middle" cellpadding="0" cellspacing="0"&gt;
&lt;tr&gt;
&lt;td&gt; Your Flash....or Table 2.............................&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</font id=code></pre id=code></font id=red>

Regards,
Dave

[DWMX 2004]|[FlashMX 2004 Pro]|[Studio MX 2004]|[SQL]|[Access2000/2002]|[ASP/VBScript]|[XP-Pro]
If you like online gaming, please register @ www.nova-multigaming.com

Reply to this topic