Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tried Everything - Lining Up Rows

    I have tried aroung ten different methods but I just cant get 3 different units to fit under one another. I have adding and removing divs, changing widths and the image size, can anyone advise me please?

    http://www.cornertvunits.co.uk/whichcornertvunit

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I just cant get 3 different units to fit under one another
    Remove unnecessary floats from
    Code:
    .whichblockleft {/*style.css (line 142)*/
    /*float:left;*/
    font-family:arial,verdana,arial;
    font-size:12px;
    width:35%;
    }
    .whichblockright {/*style.css (line 150)*/
    /*float:right;*/
    font-family:arial,verdana,arial;
    font-size:12px;
    padding-top:8px;
    width:64%;
    }
    PS: Suffering from divitis?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks mate, I tried removing the floats but it just pushing the right cell underneath the left (image).

    I am trying to put two cells next to one another in container and then put the another container right underneath. But the container about sucks in the container from below.

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    I am trying to put two cells next to one another in container and then put the another container right underneath. But the container about sucks in the container from below.
    Sorry, it's still not clear. How do classify a "cell" - one image and the text underneath it?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What Im trying to do is to have a large cell (or box) inside that cell are two cells next one another. One containing an image and to the right of that a cell containg text in relation to that image.

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    My question is, where would you like to place that heading and text - below/right of the images?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #7
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,

    The text goes to the right of the image.

    For some reason the second television pushes upto into this box.

    Regards,

    Gareth

  • #8
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    I would make each TV and text sit in one div which should be the width of the container/page.
    Inside those divs, I would make the image src code show first and I would float the image left. The text should then move up to the right of the TV.

    YOu need also to be sure that you have given each div a class - rather than classs

    hth

    bazz
    Last edited by bazz; 11-11-2009 at 04:28 PM.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #9
    New to the CF scene
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks,

    How do I do that?

  • #10
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,866
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    You need also to be sure that you have given each div a class - rather than classs
    After fixing that, try
    Code:
    .whichblock {/*style.css (line 132)*/
    clear:both;
    font-family:arial,verdana,arial;
    font-size:12px;
    margin-top:8px;
    width:98%;
    }
    .whichblockright {/*style.css (line 148)*/
    /*float:right;*/
    font-family:arial,verdana,arial;
    font-size:12px;
    margin-left:45%;
    padding-top:8px;
    /*width:64%;*/
    }
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •