CSSClearProperty
How to use CSS clear property to clear left or right only
>>rfloat<< Attach:bushtrack.jpg Attach:bushtrack.jpg >><< %lfloat%Attach:bushtrack.jpg One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. %clear:left red%This text should be under the left image, but not under the right images. |
One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. This text should be under the left image, but not under the right images. |
>>rfloat<< Attach:bushtrack.jpg Attach:bushtrack.jpg >><< %lfloat%Attach:bushtrack.jpg One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. >>clear:left red<< This text should be under the left image, but not the under right images. >><< |
One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. This text should be under the left image, but not the under right images. |
>>rfloat<< Attach:bushtrack.jpg Attach:bushtrack.jpg >><< %lfloat%Attach:bushtrack.jpg One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. (:div style="clear:left" red:)(:divend:) This text should be under the left image, but not the under right images. |
One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. (:divend:)
This text should be under the left image, but not the under right images. |
Could you attach an image(sketch) as how the layout should be. I could give a try.
VKrishn August 23, 2010, at 04:52 AM
[[<<]]
which is break clear:both, in the standard markup, eg [[_<]]
and [[<_]]
, thanks, Simon
>><<
and %css%
work IMHO. I should not have to hard code image widths. simon August 25, 2010, at 05:31 AM
>>rfloat<< Attach:bushtrack.jpg Attach:bushtrack.jpg >><< >>lfloat width=314px<< Attach:bushtrack.jpg\\ This text should be under the left image, but not the under right images. >><< %lfloat% One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush.%% |
This text should be under the left image, but not the under right images. One of the best activities to do in New Zealand is tramping. Tramping is hiking in the New Zealand bush. |