hi guys im in a weird situation and dont have a clue why one works and the other dont.
Firstly here is the first with declaration
RIGHT NOTICING THAT IT DONT CENTER THE TEXT IN THE MIDDLE OF THE SCREEN.Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="middle">this should be in CENTRE of screen</td> </tr> </table> </body> </html>
here is the second link now with the declaration taken out without declaration
this works and centers the text, why is this happening? whats with the declartion? please somebody clear this up for me.Code:<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="middle">this should be in CENTRE of screen</td> </tr> </table> </body> </html>
Thanks ever so much![]()





Bookmarks