Set CSS style in the image tag in a post


(Marco) #1
<img src="blah.jpg" width="224" height="184" style="float:left">

How can I?


(Han Xiao) #2


(Marco) #3

I said how can I?


(Marcin Rataj) #4

Left is easy. Show us how to float:right :stuck_out_tongue:


(Marco) #5

It works with images, it doesn’t with an image and a text.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

I want:


(Christian Simplicity) #6

Any response on this request?


(Jens Maier) #7

I don’t think floating images ever really worked and I’m not sure it ever will since the style HTML attribute is filtered and removed from the raw post. Letting users specify custom styles is rather dangerous.