Forums

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

Home Forums CSS absolute positioned 2 column child inside an absolute parent

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185173
    hamsterjae
    Participant

    Hello :)

    I have an absolute positioned parent and inside are 2 columns who are also absolutely positioned :)

    http://codepen.io/hamsterjae/pen/swlHy

    and i needed to push down the left column(circle) because its supposed to show only 3/4 of the circle (overflow:hidden was used for the wrapper parent, also that’s why i used absolute positioning instead of float) but it meant declaring a height for the main container. is there a way not to do this so that it will follow whatever content is inside it?

    it kinda look like this: (grabbed from google images) http://www.consumerpressuregroup.com/wp-content/uploads/2012/08/Summer-static-banner.jpg
    – but the circle is on the left side

    Thanx in advance :)

    #185178
    Paulie_D
    Member

    Sometimes the thing to do is just use an image….sounds like you’re working very hard to achieve a specific effect that could be done much easier.

    Do you have an image of what your item is supposed to look like…not the example you gave.?

    #185262
    hamsterjae
    Participant
    #185270
    Paulie_D
    Member

    Not sure why you need columns here.

    Seems to me a very simple layout.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.