Solved

absolute positioning inside block and table positioning

Posted on 2013-01-14
2
190 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
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 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