MDanz Posted February 27, 2010 Share Posted February 27, 2010 this is how i've tried to get it to center in the middle of the screen. for some reason it sticks to the top. Even if i put valign to the bottom. any other way of doing this? i haven't included the code, i just put "test" to replace it. <table style="width:100%; height:100%" border="0"> <tr> <td align="center" valign="middle"> <table width="840" height="537" border="0" cellspacing="0" cellpadding="0"><tr><td> test </td></tr></table> </td> </tr> </table> Quote Link to comment Share on other sites More sharing options...
vinpkl Posted February 27, 2010 Share Posted February 27, 2010 i have tested it in IE7. Its showing in middle of screen instead of top. which browser are you testing. vineet Quote Link to comment Share on other sites More sharing options...
MDanz Posted February 28, 2010 Author Share Posted February 28, 2010 i'm testing in firefox/google chrome... it just stays at the top?!?! how do i do this center of the screen with div instead? Quote Link to comment Share on other sites More sharing options...
vinpkl Posted February 28, 2010 Share Posted February 28, 2010 its showing in center of screen in firefox/ chrome at my computer. may be you have some other code also in your page or css vineet Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.