www.webdeveloper.com
Results 1 to 2 of 2

Thread: Problem with float

  1. #1
    Join Date
    Jun 2006
    Location
    Under your bed
    Posts
    357

    Problem with float

    I wanted this dog image to be a part of the white section of the page, which it was until I floated it to the left. Now it's overlapping. I want the white section to extend with it. Does that make sense?

    http://www.dogrealm.net/evenstar7139/csstest.php
    The better I get at programming, the more I appreciate arrays. Handy dandy things they are.

  2. #2
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,456
    Hi there evenstar7139,

    try it like this...
    Code:
    
    div#body
    {
      background-color:white;
      text-align: center;
      padding: 5px;
      overflow:hidden;
    }
    
    Further reading:-

    coothead

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