Hi,
[E]in floatendes Element erzeugt einen Block formatting context - damit verhält es sich quasi wie ein Block-Element. Ob man jetzt display: block oder display: inline notiert ist dann egal, da du mit der display-Eigenschaft die float-Eigenschaft nicht überschreiben kannst.
Und wer's noch mal nachlesen möchte, schaue hier:
CSS 2.1, 9.7 Relationships between 'display', 'position', and 'float'
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.