absolute positioning inside block and table positioning

Greetings,
i have a DIV that has a display:block.
How do I put another div in it's top right corner?

Ie. I want Div2 inset on top right corner of Div1 when Div1 is set to display:block.

Thanks.
LVL 9
Evan CutlerVolunteer Chief Information OfficerAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
'div' are normally "display:block".  To put another 'div' in the upper right corner, you need to use this in a 'style' or CSS:

position: absolute; top: 0; right: 0;

Open in new window

0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
ok...thanks much.  That helps....It's the little things.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.