http://digitalrat.co.uk/test/index.html
I float a div left in body prior to a div with top margin set. I
expected the float to rise to the top of body, but instead in Firefox &
Opera its top won't go above the top border of the following div (In IE
it does go right up).
Is this correct behaviour?
Unless I'm missing something, this appears to be a case of CSS
specifying floats should go as high as possible, without clearly
defining what this means (Eric Meyer gives a warning about this on p284
of 2nd ed of CSS The Def Guide).
Am I in error, the browsers or the CSS spec?
BTW I can workaround this by putting the spacing onto body padding &
removing the 2nd div's margin; I just wanted to understand what's going on.
Cheers,
--
Michael
m r o z a t u k g a t e w a y d o t n e t