DIV Issue. How to fix this?

Discussion in 'HTML & Website Design' started by Miquexia, Jun 30, 2009.

  1. #1
    Hello,

    I am currently working on a template for a client of mine, but I'm having issues with some DIV's.

    Coded version: Click here!

    As you can see the div on the right with the pictures in it doesn't stay at the first line of the "content" div. It just stays right under the text: "Test". It should "float" instead of going down. Hard to explain really, so here's a picture to explain it a little bit:

    Click here!

    So all I want is having the div with all the pictures in it float to the top of my "content" div.

    Here's the CSS file: Click here!

    I hope someone can help me out here.

    Thanks! ;)
     
    Miquexia, Jun 30, 2009 IP
  2. manorwolf

    manorwolf Active Member

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #2
    the text "Test" will take the first line if you dont give it a style
     
    manorwolf, Jun 30, 2009 IP
  3. manorwolf

    manorwolf Active Member

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    you should add div with your text.
     
    manorwolf, Jun 30, 2009 IP
  4. Miquexia

    Miquexia Peon

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Works! Thanks mate. ;)
     
    Miquexia, Jul 3, 2009 IP