Solved

absolute positioning inside block and table positioning

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

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
'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
Comment Utility
ok...thanks much.  That helps....It's the little things.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now