Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

floating window

Status
Not open for further replies.
a cheap and easy way is to do this:


...
<body>
<div id="wrapper">

[page content]

</div>
</body>
</html>

CSS:
#wrapper {
width: 100%;
height: 100%;
vertical-align: middle;
}
 
The example site you posted is doing this with Javscript, which I believe is your only option. Try asking in the Javascript forum (Forum216).

 
Thanks,

but this still doesn't work.

If you look at this page:
when I resize my exporer bar vertically the main table stays in the same place, even though it's supposed to adjust itself so it's in the center of the page.

thanks

new york web development, ny web design
 
Yeah, unfortunately, my example only works in quirks mode... :/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top