Support » Themes and Templates » Div container next to another div container?

  • Hello everybody!

    I have a div container called “outline” which is loaded in the header and this container contains everything else of my blog. Now I wonder how I can load another container (lets call it right) which sits on the right side of “outline”. There should be no gab between the two. This container shoudl contain an image.

    Cheers,
    with best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can try floating another div on the right or making a container div with 2 divs inside, one for main content and one for right.

    ex.

    #wrap { width:780px; }
    #header { width:100% }
    #main {
      float:left;
      margin-right:0;
      width:580px;
    }
    #right {
      float:right;
      margin-left:0;
      width:200px;
      background: url('image.jpg') top left no-repeat;
    }
    #footer { clear:both; }

    Of course widths need to be adjusted for margins, etc. but it is a good place to start.

    whooami

    (@whooami)

    Member

    Here’s a good place to start reading. You can learn to do it, instead of having someone do it for you 🙂

    http://www.thenoodleincident.com/tutorials/box_lesson/boxes.html

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Div container next to another div container?’ is closed to new replies.