Forums / Setup & design / OE: How can I get an image to NOT be left nor right floated?
Espen R
Friday 04 May 2007 5:22:41 am
And not centered either. I just need it to follow the text flow. I guess I could alter the css for align left so that it doesn't float the div, but some other times I actually want images to be floated left.
Seems to me that there should be another option called "none" or something. Since that option isn't there by default, I need to add it myself. Where do I have to hack?
I find it quite amazing that no one else has mentioned this problem before. At least I couldn't find anything in the forum. (Of course there might be an obvious solution that I am too stupid too see).
Please help :)
Børge Warvik
Monday 07 May 2007 1:21:50 am
How about "display:inline"?
Monday 07 May 2007 3:28:56 am
No. I want it to display as a block element, but that's not the problem. I know how to do the css. The problem is that I have to figure out how to add another option to the alignment selection in the OE object dialog box. Left, right and centre just isn't enough. I need another option where I can set the css to display it as a block and not floated.
Then again, I could just add a custom class and apply it to those images in question. But still not the best solution in my opinion. A "none" option would be best maybe since then I could just set images to be non-floated and block displayed by default.
Maybe it can't be done?