The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Exhausting my limited CSS abilities Re: Exhausting my limited CSS abilities

Rob MacKay

because what I typed was pretty much gobbledy gook (In the second part anyway) have a look at this

Remeber if you do that to set your wrapper div position to relative, then your content div will know where to get its position from.

Its always good practivce to set alteast a relative position to items, its a very passive positioning that does not require top/left px settings – it will just rest where it should, in relation to the containing element. if the containing element has no position set, then then it will look to all the way down your document tree until it finds the browser window. The browser window is default and it will set its position to that. Thats why positioning sometimes dosnt seem like its working for alot of people :)