Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone!
(I hope this is in the right section, if not: Sorry (a)).
Basically this is what I want to do:
When alligning images in the TinyMCE I want different styles (defined in the Stylesheet) applied when an image is aligned left, center or right.
I tried to use this: #content img left {margin: 10px 10px 10px 0; }, but that didnt work.
I think the problem lies mainly with my (still) limited knowledge of CSS...
Does anyone know if this is possible and if so, how to do it?
Thanks in advance!
Michiel
PS: If my explanation is insufficient (due to faulty English maybe), please say so. I will try to explain more clear.
Hi Michiel, welcome to the Umbraco forum.
OK, so you've got a stylesheet assigned to the TinyMCE editor? (If not, read this tutorial - it also contains an example about image alignment).
With your CSS, the main issue I saw was that you are missing a dot/period from "left", it should be:
#content img.left {margin: 10px 10px 10px 0;}
Hope this helps?
Cheers, Lee.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Small Q about CSS in Umbraco
Hi everyone!
(I hope this is in the right section, if not: Sorry (a)).
Basically this is what I want to do:
When alligning images in the TinyMCE I want different styles (defined in the Stylesheet) applied when an image is aligned left, center or right.
I tried to use this: #content img left {margin: 10px 10px 10px 0; }, but that didnt work.
I think the problem lies mainly with my (still) limited knowledge of CSS...
Does anyone know if this is possible and if so, how to do it?
Thanks in advance!
Michiel
PS: If my explanation is insufficient (due to faulty English maybe), please say so. I will try to explain more clear.
Hi Michiel, welcome to the Umbraco forum.
OK, so you've got a stylesheet assigned to the TinyMCE editor? (If not, read this tutorial - it also contains an example about image alignment).
With your CSS, the main issue I saw was that you are missing a dot/period from "left", it should be:
Hope this helps?
Cheers, Lee.
is working on a reply...