1 reply [Last post]
akashrh
akashrh's picture
Offline
newbie
Last seen: 2 years 49 weeks ago
Timezone: GMT+2
Joined: 2011-11-04
Posts: 1
Points: 2

Hi i have a main wrapper div, within that div i have another div that will then contain another 3 divs for my images. I use relative positioning on the first div but once i use it on the second div it appears out of the containing div - please advise.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 1 week 1 day ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Please post your code

Both HTML and CSS. But in general if you need things to appear alongside each other, don't use relative positioning, use either display:inline-block or floats.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference