When I put an image in and align it to the left, the text next to the image is sitting way too tight. I've tried to adjust the html but am having no luck. This is how one of them looks in the html... any help much appreciated!
Thanks, no luck I think I need some help from the developers but thanks anyway for the replies. I managed it once before by changing the code in the html (sorry I am not sure if that is the same field as the css - i'm an editor but not a developer so that part is going over my head a bit!).
To just get a margin around your img tag, you can use simple css:
<style>
img{
margin: 10px !important;
}
</style>
The problem is that this will affect ALL your sites images, not just the staff. You need to add a div with a class/id surrounding you staff code to be able to separate its styling from the rest of the site. (Like the example i wrote higher upo in this thread.
If you have access to the source code, you could do something like this:
(Note: this is not a optimal solution for future content editing, since it requires editors to know html, but it could be a fix for you at the moment. For a long term fix, contact your developer and he/she can add some proper styling rules.)
Spacing next to image too close
Hello
When I put an image in and align it to the left, the text next to the image is sitting way too tight. I've tried to adjust the html but am having no luck. This is how one of them looks in the html... any help much appreciated!
Job title
Many thanks, Julia
Hello, anyone, anyone at all?! :-)
Hello Julia,
You can set margin left or text in HTML.
or you can share your HTML .
Hope its helps you,
Ronak Panchal
Thanks - this is what I can see at the moment in the html
Hi JKFks.
Can you add a class surrounding your staff? That way you could control the spacing with css.
Lets say your markup looks something like:
Then you css could be:
Thank you I shall try this... will let you know if I have success!
Nope, I can't work out how to get it to work still sadly. It looks like this at the moment... thanks so much for help, much appreciated
Thanks, no luck I think I need some help from the developers but thanks anyway for the replies. I managed it once before by changing the code in the html (sorry I am not sure if that is the same field as the css - i'm an editor but not a developer so that part is going over my head a bit!).
Great. Looking forward hearing how it goes..
Do you have it live somewhere? Url?
It isn't live as I need to get the page approved still... I posted the html above I hope that helps you see what I can see!
Can you paste more html? Is there a surrounding div arounds that code?
That's it I'm afraid...
Director of the - Tim
Tim is responsible for the overall management and direction of theā¦vision and strategy.
Head of - Sarah
Sarah is responsible for the website.
To just get a margin around your img tag, you can use simple css:
The problem is that this will affect ALL your sites images, not just the staff. You need to add a div with a class/id surrounding you staff code to be able to separate its styling from the rest of the site. (Like the example i wrote higher upo in this thread.
Hi!
If you have access to the source code, you could do something like this:
(Note: this is not a optimal solution for future content editing, since it requires editors to know html, but it could be a fix for you at the moment. For a long term fix, contact your developer and he/she can add some proper styling rules.)
Best of luck.
Thank you, I will keep having a play with it... have emailed support in the meantime, hopefully they can provide a long-term solution as you say!
Sounds good! Best of luck to you!
Have a great day!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.