By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,827 Members | 2,177 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,827 IT Pros & Developers. It's quick & easy.

div align=center

P: 3
I am insert a div tag in table. table width is 100%. div width is 500px. i want to center alignment in div tag. so which command i want to use this



<table align="center" border="0" cellpadding="0" cellspacing="0" width="960"><tr><td align="center">

<div style="text-align:center;width:500px; height:340px">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>bfjksnskfn<td>
</tr>
</table>
</div>
</td>
</tr>
</table>
Nov 15 '06 #1
Share this Question
Share on Google+
3 Replies


dswethar
P: 65
Hi.

Can you be a little more clear. As of now, the div is center aligned in the table. What is it that you need?
Nov 15 '06 #2

P: 3
Thanks, I got that code.

Now
I want dynamic div height according to page height. If you know convey to me.
Nov 20 '07 #3

Death Slaught
100+
P: 1,137
You're not making any sense what soever. We cannot help you if we do not know what you're asking. Please try and refrase your question.
Nov 20 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.