SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist Sikwondo's Avatar
    Join Date
    Sep 2005
    Posts
    426
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with CSS float issues firefox vs explorer

    Have come accross a problem with layout in firefox and css and would love some help.

    Could you look at this site:

    www.simonbailey.co.uk/trial/trial.html
    www.simonbailey.co.uk/trial/css.css

    The red border is the containing box with two floats in it. Why doesn't it float left in firefox but does in int explorer?

    Any help I would be so grateful.

    Sk

  2. #2
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    because float2 is missing float: left; or haze no margin left

    .float2 {width: 200px;height: 300px;float: left; border: 1px dotted green;}

    .float2 {width: 200px;height: 300px;margin-left:302px; border: 1px dotted green;}


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
  •