Help with css and tables

liunx

Guest
How would I put two <div>'s selections into one column? I am totally lost on what I am doing. I am all new at this. below is my codeing:


<html>
<head>
<style>
.1{
position: absolute;
top: 30px;
right: 10px;
left: 413px;
width: 39px;
height: 25px;
}
.2{
postion: absolute;
top: 25px;
right: 15px;
left: 412px;
width:30px;
height:20px;
}



</style>
</head>

<body>
<table width="100%" height="100" border="1">

<tr>
<td width="100"><div class="1">man1</div></td>

<td width="100"><div class="2">female</div></td>
</tr>

</table>

</body>
</html>Are you trying to put 2 divs in 1 column or use position:absolute for your divs?

btw the first character in a class name can not be numeric.
 
Back
Top