I’m playing a bit with iframes for a future planned project. So far, the iframe should contain the output of a CGI script (currently just a simple text line, later something more complex).
An iframe doesn’t have any positioning qualities about it, but the
content you place inside it may. (An iframe is like a browser window
that you can place within a page.) Try making a single-cell table,
100% height and 100% width, set that single cell to valign=middle, and
then place your content within that cell inside a P tag that has its
text-align set to center.
Walter
On Dec 22, 2009, at 3:25 PM, tobiaseichner wrote:
I wonder if there is a way to center contents within an iframe
explicitly ? Maybe there is an IE-specific trick ?