dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Div problems

  1. #1
    Join Date
    Jul 2005
    Location
    Kentucky
    Posts
    162

    Div problems

    Hi,

    I have three colums (leftcol, middlecol, and right col) and some div content boxes in each one. But when I add two boxes to a colum (and leaving one in the other two) the other content boxes in the other colums shify down below the two boxes. How can I fix this?

    See

  2. #2
    Join Date
    May 2006
    Posts
    24
    Hello,

    There was a couple of simple spelling differences from your css to your page code an extra 'e' in the following two names which i removed.

    .leftcol {
    float: left;
    width: 250px;
    margin: 0px;
    padding: 0px;
    }

    .rightcol {
    float: left;
    width: 250px;
    margin: 0px;
    padding: 0px;
    }

    I also floated the news to the right instead of left.

    .news {
    background: #333333;
    float: right;
    width: 243px;
    margin: 0px;
    margin-left: 1px;
    margin-right: 2px;
    padding: 2px;
    }

    and deleted the width from the footerlink_bottom to make it fill the tiny space that was on the right of the screen.

    .footerlink_bottom {
    color: #FFFFFF;
    font-size: 10px;
    background: #333333;
    margin: 0px;
    padding: 0px;
    padding-top: 5px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 5px;
    }

    With these minor changes you should be sound!

    (",)

  3. #3
    Join Date
    Dec 2005
    Location
    American, living in Toronto, ON. CANADA
    Posts
    6,746

    nitpicking (me, I mean)...

    Your content reads:

    ...1UP will take you trough each day of the Nintendo Conference. ....

    That is spelled "through", not "trough" (the latter being essentially a container from which barnyard animals eat or drink, as in 'a pig trough'...).


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles