Margin around image not working [SOLVED]
Posted: Thu Oct 25, 2007 12:49 am
Hi all.
Just installed the latest CMS version on a new install and having a problem with images and margins. Firstly i copied the default template and associated style sheets "left simple navigation + 1 column" I then modified the layout style sheets to customise how i wanted it to look.
So building a page using my new template/styles i inserted some text in the main content area then added a photo. In the image properties i set the photo to align to the right and add some vspace and hspace. The image does go to the right, but there is no vspace or hspace applied.
OK so i thought maybe it was something I had changed in the css, so i changed the pages template back to the default one i had originally copied, only to get the same result. Next i changed to to the default cssmenu+1 column template, same result. In fact i got the same result with all the default templates except the minimal template, then the vspace and hspace come into effect. This template has no style sheets associated to it so it has to be a CSS issue.
Maybe I'm just being dumb and my lack of CSS knowledge is to blame but Im really stumped and have been working on this for a couple of days now, but im no CMS expert and just experiment by copying code and modifying it.
I've tried both the WYSISWYG editor to build the page.
Looking at the outputted source code for the page the hspace and vspace is there, just im guessing that something in the css is overriding it.
Bassed on the default template "left simple navigation + 1 column" provided with CMS 1.2 can anyone shed any light as to why the images dont have any vspace or hspace when aligned left or right in some text.
Thanks for reeding I hope someone can help
Just installed the latest CMS version on a new install and having a problem with images and margins. Firstly i copied the default template and associated style sheets "left simple navigation + 1 column" I then modified the layout style sheets to customise how i wanted it to look.
So building a page using my new template/styles i inserted some text in the main content area then added a photo. In the image properties i set the photo to align to the right and add some vspace and hspace. The image does go to the right, but there is no vspace or hspace applied.
OK so i thought maybe it was something I had changed in the css, so i changed the pages template back to the default one i had originally copied, only to get the same result. Next i changed to to the default cssmenu+1 column template, same result. In fact i got the same result with all the default templates except the minimal template, then the vspace and hspace come into effect. This template has no style sheets associated to it so it has to be a CSS issue.
Maybe I'm just being dumb and my lack of CSS knowledge is to blame but Im really stumped and have been working on this for a couple of days now, but im no CMS expert and just experiment by copying code and modifying it.
I've tried both the WYSISWYG editor to build the page.
Looking at the outputted source code for the page the hspace and vspace is there, just im guessing that something in the css is overriding it.
Bassed on the default template "left simple navigation + 1 column" provided with CMS 1.2 can anyone shed any light as to why the images dont have any vspace or hspace when aligned left or right in some text.
Thanks for reeding I hope someone can help