|
Posted by Alan Cole on 03/08/06 09:43
In article <1141791525.349526.87410@i39g2000cwa.googlegroups.com>,
google@rbtbowers.com wrote:
> When I view the following in a browser window, the text is not
> vertically centered (text is at the top of the window) but in Print
> Preview, the text is vertically centered. How can I have the text
> be centered in both?
>
> Thanks for your help,
> Robert
>
>
> <HTML>
> <HEAD>
> <TITLE>My Web Page</TITLE>
> </HEAD>
>
> <BODY scroll=yes>
>
> <div align="center">
> <table height="75%" border="0" bgimage="../pics/frame_back.jpg">
> <tr>
> <td>
> <font size="6"><p align="center">Text Line
> 1</p></font><br><br>
> <font size="5"><p align="center">Text Line
> 2</p></font><br><br>
> <font size="6"><p align="center">Text Line
> 3</p></font><br><br>
> </tr>
> </table>
> </div>
>
> </BODY>
> </HTML>
VERY old fashioned HTML with lots of errors, but you are missing a </td>
tag which may sort things out in the browser. Although it is centred in
my browser.
Al.
--
Alan Cole. E-mail: justal at lineone dot net
http://www.forces-of-nature.co.uk [Coastal Sports]
http://www.pixelwave.co.uk [Website Design, hosting and promotion]
[Back to original message]
|