SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Float Problem

  1. #1
    SitePoint Member
    Join Date
    Sep 2009
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Float Problem

    Hey hows it going, I am coding a site that I have specific widths for and what I did was made div's, set the widths to fit exactly and floated to the left and then floated the other to the right. But in dreamweaver it shows one div being underneath the other one like it is being forced to go on the next line. BUT when i preview in the browser its fine. Is there a way to fix it so i can accurately see it in dreamweaver or it that a bug?

    The thing that gets me is I just did it above making two columns and it works good. But when i try to put 2 more columns after like another div that takes up the whole width it messes up on me pushing the right floated div below the left floated div.

  2. #2
    SitePoint Evangelist stonedeft's Avatar
    Join Date
    Aug 2009
    Posts
    589
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If it looks good when you preview it on a browser then whats the fuzz?

    Anyway float everything to the left and nest your div's accordingly if it displays otherwise then your widths doesn't fit perfectly as you claimed.
    Don't Panic

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,623
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    If you are having it screw up in dreamweaver don't worry. That is based off old presto (old opera) and it's viwe is not to be taken seriously.

    If it would drop in brwosers then you would need to check your widths.
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •