Forums

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

Home Forums CSS Silly question – 2 div’s, different width

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32096
    XaviJr
    Participant

    This is really annoying me.. I have a container div with 2 more inside. Those 2 div’s are on top of each other, they both have a black background and dynamic content.

    The problem is that the first one is generally wider and so the bottom div is appearing with the upper div width. I want to have the width (the black background) adjusting to the content size. How can i do that?

    #54415
    XaviJr
    Participant

    Right.. I’m an idiot! Thank you wolfcry911.

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