- Posts: 8
- Thank you received: 0
Padding for images in articles in newsletters?
Joomla! version: 1.5.25
PHP version: 5.3
MySQL version:5x
Hi - I'm trying to add styling for images that appear in content items, so that text doesn't sit right against the images.
So you guys have any ideas how to give images in articles (in the newsletter) padding?
The images wrapped in a caption div. So I figured I could just add:
.jce_caption {padding:10px} to the styles portion of the template. No go.
So I next I tried:
.jce_caption { margin:10px;border: 10px solid #ffffff;}
(i figured if the margin go stripped out by gmail that maybe border would work)
Still nothing. How the hell can I give the images some breathing room?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
So ok, I setup a rereplacer rule to change all of my captions to include inline padding. This is what the code looks like on the site...
<span class="jce_caption" style="border-color: #000000; padding: 0 10px 10px 0; float: left; display: inline-block;"><img style="margin: auto;" alt="2-a" src=" newtechinsight.techinsight.netdna-cdn.co...ies/issue_20/2-a.jpg " height="201" width="250">Server Building Blocks. When Intel launched its Xeon E3-series processors, its EPSD group quickly populated the ecosystem with boards, add-in cards, and chassis to support the CPU.
However, this is what it looks like in your component in the html view. What happens to the padding? This is before it is even sent so its not google stripping the code, it has to be the component?
<span class="jce_caption" style="border-color: #000000; float: left; display: inline-block;"><img style="margin: auto;" alt="3-a" src=" www.techinsight.tv/images/stories/issue_20/3-a.jpg " height="201" width="250" />Just The Right Size. Standardized motherboards in specialized form-factors make for unique channel offerings. This all-in-one chassis from Gigabyte hosts Intel’s DH61AG platform.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
margin, padding and border of the caption and all are being removed by the joomailer component.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
joomlamailer uses cookies!
This website uses cookies to provide user authentication and improve your user experience. Please indicate whether you consent to our site placing these cookies on your device. We are not using cookies for marketing purposes. For more information visit our privacy policy
Joomlamailer.com is not affiliated with or endorsed by The Joomla! Project™, Open Source Matters, Inc. or Intuit Mailchimp.
Any products and services provided through this site are not supported or warrantied by The Joomla! Project, Open Source Matters, Inc. or Intuit Mailchimp.
Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Mailchimp® is a registered trademark of The Rocket Science Group.