1 Replies - 457 Views - Last Post: 16 January 2011 - 07:38 AM

#1 davey123  Icon User is offline

  • D.I.C Head

Reputation: 5
  • View blog
  • Posts: 103
  • Joined: 24-December 10

Relative positioning

Posted 16 January 2011 - 07:34 AM

I was wondering if there was a strict rule about relative positioning and how to use it?

Im currently dropping div containers onto my page and relatively positioning them to where they should go.

Do I have to position them to the whole container (the page) or can I position them to the div that contains them?

Currently I have my divs positioned to the main content div which sits inside the page container. Its working and I dont see a problem yet with all the browsers. But I would hate to continue and find out its wrong or that it can screw up later.

Here's my page so far. If soeone can view source and tell me if its good I would greatly appreciate it.
Cheers!

http://www.b3designs...kings/index.htm

Is This A Good Question/Topic? 0
  • +

Replies To: Relative positioning

#2 Fungle  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 256
  • View blog
  • Posts: 337
  • Joined: 06-March 10

Re: Relative positioning

Posted 16 January 2011 - 07:38 AM

They way relative positioning works is in it's name.

The best place to look for a definition and how it works in general is W3Schools: http://www.w3schools...positioning.asp

But in a line it's basically this:
Relative position means you move the object relative to where it once was.

This post has been edited by Fungle: 16 January 2011 - 07:41 AM

Was This Post Helpful? 1
  • +
  • -

Page 1 of 1