View Full Version : How To Make Iframe In The Center Of The Page???


Prezhi0usGurL
03-16-2003, 09:05 PM
can somebody please help me how to make the iframe go automatically in the center of the page??? what i mean is horizontally and vertically in the center.. yeanO?? but please if somebody knows the tag or if there is any.. please HELP!! Thanks..



Love Lots,
Kaisy

Alcy
03-16-2003, 09:27 PM
You could use a table....

<table width="100%" height="100%">
<tr>

<td align="center" valign="middle">
<iframe></iframe>
</td>

</tr>
</table>

Aprilrenee
03-16-2003, 09:51 PM
and if your not doing tables

<div align="center">Whatever you want here</div>

jonathan12
03-16-2003, 09:57 PM
Originally posted by Aprilrenee
and if your not doing tables

<div align="center">Whatever you want here</div>

Does the Iframe go in the "whatever you want here" part of the tag?

Sheila
03-17-2003, 08:57 AM
Yes

Aprilrenee
03-17-2003, 02:29 PM
yeppy just put the iframe tag inside those div tags