Forums

Give help. Get help.

  • # July 23, 2008 at 3:15 am

    if you place a div on the page in it’s default or static position. Then it would appear in the upper left corner. If you put position:relative on it you can then use top: and left to place it outside of it’s normal position. Why use position:relative? why not just use margins to move the box where you want so instead of

    { position:relative; top:100px; left:300px; }

    use this instead

    { margin-left:300px; margin-top:100px;

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag