Jump to content

td valign not working, center of screen


MDanz

Recommended Posts

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>

 

 

Link to comment
https://forums.phpfreaks.com/topic/193567-td-valign-not-working-center-of-screen/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.