/    Sign up×
Community /Pin to ProfileBookmark

Help with css and tables

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>

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@FangDec 20.2003 — 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.
×

Success!

Help @newtda spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...