<html>
<head>
<title></title>

</head>
<body>
<table border="8" cellpadding="80" bordercolor="black" cellspacing="0" frame="border">

<tr>
<td width="50%"></td><td width="50%">Welcome</td>
</tr>
<tr>
<td width="50%"></td><td width="50%">Client</td>
</tr>

</table>
</body>
</html>

i need urgent help on div floats, this are my codes the only thing missing is a div float in the middle.please help me, i have no background on div float center

<div style="position:relative;">

<table width="200px" height="200px" border="8" cellpadding="80" bordercolor="black" cellspacing="0">
<tr height="50%">
<td width="50%"></td>
<td width="50%">Welcome</td>
</tr>
<tr height="50%">
<td width="50%"></td>
<td width="50%">Client</td>
</tr>
</table>

<div style="position:absolute; margin:0 auto; top:10px; left:10px; width:auto; height:180px"></div>

</div>

this should work... However, it might be a good idea to know what you're doing, maybe there's a better way. =)

Hope that this helps ya! =)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.