skip to content

Vertical Align in Internet Explorer


Information

This is of course possible using fixed size divs with absolute position and negative margins, but this also means that as the window is resized the text can disappear off the left and top of the screen.

Wouldn't it be nice if you could have vertically aligned text in a similar way to table cells that stop at the left and top of the screen and add scroll bars as required.

Well I have found an answer using IE6, but at the moment it does not work in Mozilla, Opera or Netscape (but may in the future).

Click for the Demonstration

Copyright

You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.

Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.

If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.




CSS play recommend

SitegrinderPSD to HTML, PSD to XHTML Service by PSD2HTML.com. You Design - We XHTML / CSS.Flash LoadedFree, practical CSS menus, layouts, and examplesSocial Media Applications On DemandBitrix Site Manager