This time, in order to get the effect to come out right, I "interleaved" the floats. In order words, right-left-right-left-right-left. You can see it in the course; every other div
is a class of either slant1
or slant2
. It turns out that it has to be done that way, due to the way the CSS2 float model is written. I'd like to have been able to put all of the slant1
elements together, and follow them with all the slant2
elements, but that won't work the way I want. So browsers like Netscape 6.2, which follow this part of the specification to the letter, turn out to be harder to work with than Explorer 5.5 for Windows (as an example).
This time, in order to get the effect to come out right, I "interleaved" the floats. In order words, right-left-right-left-right-left. You can see it in the course; every other div
is a class of either slant1
or slant2
. It turns out that it has to be done that way, due to the way the CSS2 float model is written. I'd like to have been able to put all of the slant1
elements together, and follow them with all the slant2
elements, but that won't work the way I want. So browsers like Netscape 6.2, which follow this part of the specification to the letter, turn out to be harder to work with than Explorer 5.5 for Windows (as an example).