SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Sep 2008
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Crazy problem. By adding CSS float the JS doesn't work.

    This should return the height of the content:

    http://page-test.co.uk/float.html

    ...but it doesn't work. If I remove the float:left from the boxes then it works:

    http://page-test.co.uk/no-float.html (this works)

    The only difference in the two is that the boxes in the working one do not have float:left.

    Why? This is crazy. What can do I do about it?

    Thanks for looking at my examples.
    Last edited by paul_wilkins; Oct 6, 2012 at 16:17. Reason: corrected title


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
  •