Hi all,
I have been working on a "sort of" content management system. I don't want to use a proprietary CMS because I want only very limited functionality for absolute dummy's to use so it has to be simple in the extreme. It's a long story.
I am trying to achieve positioning images using CSS but can't get it right.
I have a div for the main content and want any images aligned right so text flows around it as would be achieved like this :
<img src="photo.jpg" align="right">
I set up CSS like this :
That works perfectly as I intended, all images are placed correctly.
However, I also want to be able to specify an image to be placed horizontally centred on a new line like this would achieve
Now the problem, even though that centred image is told to centre, it is right aligned and text flowed as the other images.
Is there a way to simply say "look, ignore the "float: right;" you have previously been told do this instead?
Appreciate any help that can be offered.