SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    @alexstanford Alex's Avatar
    Join Date
    Apr 2004
    Location
    Jacksonville, Florida
    Posts
    757
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Why isn't the float working?

    http://www.psgnetwork.com/G23/v2/

    The large content box is over to the left on top of the left content box.

    Yuneek
    Alex Stanford @alexstanford tumblog about.me in fb G+ K
    TechTalkin The Premier Community for Technology Enthusiasts and Professionals
    Full Ambit Media Zero Sacrifice Web Design & Development; Made in the USA @fullambit in fb G+ K

  2. #2
    SitePoint Zealot
    Join Date
    May 2005
    Location
    Birmingham UK
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im not sure what your problem is but:
    Code:
    div#rightcontent {
    float: left;
    width: 437px;
    }
    I think should be:

    Code:
    div#rightcontent {
    float: right;
    width: 437px;
    }
    Makes more sense to me.
    Contact: opserty@gmail.com
    Register your portfolio at: http://portfoliodb.net

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Your leftcontent container is 211px wide and you are trying to put inside it your leftbox which is 437px wide!

    Code:
    div.leftbox {
    height: 350px;
    width: 437px;
    background: #FFF;
    }
    You have actually defined leftbox twice. Once correctly and once incorrectly as above


Bookmarks

Posting Permissions

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