Solved

absolute positioning inside block and table positioning

Posted on 2013-01-14
2
195 Views
Last Modified: 2013-01-14
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.
0
Comment
Question by:Evan Cutler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 38776798
'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
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 38776802
ok...thanks much.  That helps....It's the little things.
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 72
CSS Formatting Getting Stripped 1 30
Change javascript filter code from OR logic to AND 5 37
change site header 8 27
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question