Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
stay_asleep #1
Vertical Centering
I feel I am quite at home with tables now, just one, hopefully final, problem.
Vertical centering of a page. I'm sure every beginner is puzzled by this, but
even after the last four hours+ trying to find the answer, and apparently
finding it, I don't know why it won't work on the page linked below
[url]http://www.unxposed.net/network.htm[/url] I can do it on a simple notepad html page,
the table is fixed 800x400 and I put a single cell table around it 100%x100%
and have the <tr align="center" valign="middle">. This I'm sure should be
identicle on the page, but it is fixed to the top of the screen instead. Is
there something stopping this vertical centering (an example can be found here
[url]http://www.machinedm.com/[/url] ).
Thanks once again.
Colin
stay_asleep Guest
-
centering site using CSS
I'm building a site using CSS and using 'absolute positioning' to align each area (no tables). Now that everything is positioned properly, how do I... -
vertical centering problem
Hello everyone, I can't make one table center vertically inside another even though I have done it many times in the past. The containing table... -
Centering Page...Someone PLEASE help me!
Pages like macromedia.com, yahoo.com, sports.yahoo.com, etc. are automatically centered in a web browser....or pages like MLB.com are fit to take up... -
Centering
In Publisher 2000, centering a title or headline between text that is full justified or left justified results in a bunch of extra space above and... -
centering movie
Hello! ive exported my movie in flash as a swf and a html.... when i view the html its not centred so i added some .css code to it to try and... -
-D- #2
Re: Vertical Centering
Here is one method I use to vertically center a table.
<style type="text/css">
body {margin: 0px; marginheight: 0px; marginwidth: 0px; scroll: no;
text-align: center;height: 100%;}
table {width: 100%; height: 100%;}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
Whatever content you want goes in here.
</td>
</tr>
</table>
</body>
Hope this helps.
Regards,
-D-
"stay_asleep" <webforumsuser@macromedia.com> wrote in message
news:dnqdob$g3c$1@forums.macromedia.com...problem.> I feel I am quite at home with tables now, just one, hopefully final,but> Vertical centering of a page. I'm sure every beginner is puzzled by this,page,> even after the last four hours+ trying to find the answer, and apparently
> finding it, I don't know why it won't work on the page linked below
> [url]http://www.unxposed.net/network.htm[/url] I can do it on a simple notepad html100%x100%> the table is fixed 800x400 and I put a single cell table around itIs> and have the <tr align="center" valign="middle">. This I'm sure should be
> identicle on the page, but it is fixed to the top of the screen instead.here> there something stopping this vertical centering (an example can be found> [url]http://www.machinedm.com/[/url] ).
>
> Thanks once again.
>
> Colin
>
-D- Guest
-
Murray *TMM* #3
Re: Vertical Centering
Read this -
[url]http://www.apptools.com/examples/tableheight.php[/url]
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"-D-" <someone@NOSPAM.com> wrote in message
news:dnqi4q$lij$1@forums.macromedia.com...> Here is one method I use to vertically center a table.
>
> <style type="text/css">
> body {margin: 0px; marginheight: 0px; marginwidth: 0px; scroll: no;
> text-align: center;height: 100%;}
> table {width: 100%; height: 100%;}
> </style>
> </head>
> <body>
> <table border="0" cellpadding="0" cellspacing="0">
> <tr>
> <td>
> Whatever content you want goes in here.
> </td>
> </tr>
> </table>
> </body>
>
>
> Hope this helps.
> Regards,
> -D-
>
> "stay_asleep" <webforumsuser@macromedia.com> wrote in message
> news:dnqdob$g3c$1@forums.macromedia.com...> problem.>> I feel I am quite at home with tables now, just one, hopefully final,> but>> Vertical centering of a page. I'm sure every beginner is puzzled by this,> page,>> even after the last four hours+ trying to find the answer, and apparently
>> finding it, I don't know why it won't work on the page linked below
>> [url]http://www.unxposed.net/network.htm[/url] I can do it on a simple notepad html> 100%x100%>> the table is fixed 800x400 and I put a single cell table around it> Is>> and have the <tr align="center" valign="middle">. This I'm sure should be
>> identicle on the page, but it is fixed to the top of the screen instead.> here>> there something stopping this vertical centering (an example can be found>>> [url]http://www.machinedm.com/[/url] ).
>>
>> Thanks once again.
>>
>> Colin
>>
>
>
Murray *TMM* Guest
-
stay_asleep #4
Re: Vertical Centering
YES!!! Perfect. Thanks to both of you. That's a great link by the way.
Colin
stay_asleep Guest
-
Murray *TMM* #5
Re: Vertical Centering
Yep - Gary knows his stuff.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"stay_asleep" <webforumsuser@macromedia.com> wrote in message
news:dnrr2d$gmv$1@forums.macromedia.com...> YES!!! Perfect. Thanks to both of you. That's a great link by the way.
>
> Colin
Murray *TMM* Guest



Reply With Quote

