Questions? 866-530-4804.
Welcome Internet Explorer user!
It looks like you are using IE6. CoTradeCo.com works fine in IE6 but doesn't look as nice. Consider upgrading to IE8, Chrome, Safari, or Firefox.
For more information on why visit BrowseHappy.com.

Subscribe Digital Life »Tips, tricks, and advice
CSS relative absolute positioning
Jason Scragz over 1 year ago | 1 response    

A couple weeks ago, while doing some unrelated research, I came across a technique that I had somehow never heard of for absolute positioning in CSS. I want to post it here in case anyone else has missed out on this one.

There have been quite a few times where I wanted a div to be positioned absolutely and to have it’s top/left/etc. to be specified from its staticly-positioned parent, and not from the viewport. It turns out that all you need to do is give the parent position: relative and you can do exactly that.

Here’s the original article I read that goes in way more depth.

More Digital Life discussions
« Older-er
Computers 101: Welcome to the show. Or why memorizing is not learning.
Computers 101: Welcome to the show. Or why memorizing is not learning.
‹ Older
What is Second Life? And why should you care?
What is Second Life? And why should you care?
Newer ›
Computer Specifics: How to Embed video in your Wordpress blog (without a plugin)
Computer Specifics: How to Embed video in your Wordpress blog (without a plugin)
Newer-er »
Mashups, widgets and your web presence
Mashups, widgets and your web presence
beingzoe

I swear we’ve been using this technique for a while. Or at least I used it recently (the past year) on some projects(s).

Nice to see it discussed in some length though. I haven’t had a chance to read the whole article, but I’m sure it will help me and a bunch of other people.

Though it looks like I should write a computers 201 about HTML and CSS to help our non-techy types understand what this stuff is about.

 

Post your response

Already have a SPOT? SIGN IN to post a response.
Otherwise, enter your info below!

Do not change the following three fields.

Required. No HTML. Textile syntax only.
What is your take on this post? Share it with the community.

 

If you have never posted here before...

Community mail


We take privacy and spam seriously and will ALWAYS protect your information.
By commenting, you accept the CoTradeCo terms of use.

More community & discussion



Got something to say?
Start a new discussion





Find related info on CoTradeCo

Also see all community blog discussions or our resource library.









Also visit our partner community TopSportsBets.com

© 2007-2009 CoTradeCo, Coachella Valley Packaging, & Coachella Valley Trading Company
are part of the Shorebird Corporation

Community content is all rights reserved © by the contibutor of that content granting
CoTradeCo some limited non-exclusive usage rights, see our policies.