| | |
|
|
|
Can't Align sites centered in the browser window |
| message from Adam Dorsey on 22 Jul 2004 |
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="middle">Hello World! </td>
</tr>
</table>
and all my content would be vert & horz centered in the window, now it pushes
everything to the very top of the bvrowser window. Why is that? Is anyone else
having the same problem?
|
| John Gaver replied to Adam Dorsey on 22 Jul 2004 |
Post a URL for us to look at.
John Gaver
Action America
(forget everything to contact me direct)
Microsoft: (n) Job security for IT consultants.
|
| Adam Dorsey replied to John Gaver on 22 Jul 2004 |
Thanks! That was it! I upgraded to Dreamweaver MX 2004 and thats when it stopped working, because it by default enters another doc-type.
Thanks!
|
| James Shook replied to Adam Dorsey on 22 Jul 2004 |
That is because of late a valid doctype has been inserted into your
page. This forces the browser (some of them grudgingly) to adhere to
HTML standards, and table height was never valid HTML. So any
self-respecting browser in standards mode ignores your 100% height.
This topic has been discussed to death in this newsgroup. The group's
archive is at:
http://groups.google.com/groups?oi=djq&as_ugroup=macromedia.dreamweaver
A simple search will turn up more than you want to know about this.
|
|
Archived message: Can't Align sites centered in the browser window (Macromedia Dreamweaver)