Sorry. I'm keeping only the important part this
time.
Marius Dumitru Florea wrote:
Look at the end,
lucaa (SVN) wrote:
> Author: lucaa
> Date: 2008-12-04 21:46:47 +0100 (Thu, 04 Dec 2008)
> New Revision: 14553
>
[snip]
>> -div.clear {
>> +.xImagePreviewSelected img {
>> + border: solid 2px #FFA500;
>> +}
>> +
>> +div.clearfloats {
> You either use the clearfloats class from the current skin or make the
> selector specific to the image plugin.
>
>> clear: both;
>> + display: none;
> Does this work? From what I know if you set the display to none the DOM
> elements matched by the selector are not displayed thus they are not
> part of the flow thus they don't affect the flow.
>
It doesn't. As you said, display: none makes clear to be ignored.
--
Sergiu Dumitriu