You Are Here Home > Absolute Positioning an Element Relative To a Box/DIV

Absolute Positioning an Element Relative To a Box/DIV

In order to do this, you must position the parent box relative, you don’t need to set the left/right or top/bottom necessarily, just a:

.ab-parent-box {
   position: relative;
}

Will do the trick…

Absolute Positioning an Element Relative To a Box/DIV
Filed under: CSS   Posted by: Codehead

Got a Question?

Get answers here.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment