- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi there,
I have a problem with styling a dynamically generated newsletter correctly.
Aside from the state of current e-mail programs and their lacking implementations of CSS, I shall try to explain my problem with not too many words:
1. I have a [Wordpress Newsletter Plugin](http://tribulant.com/plugins/view/1/wordpress-newsletter-plugin) for WordPress, and I want to [make my own theme](http://docs.tribulant.com/wordpress-mailing-list-plugin/1386).
2. A requirement here is: the newsletter will use the function of dynamically pulling posts from the database. Hence I get a generated `div` with a list of posts.
3. Since the support for literally [any type of CSS selector](http://www.campaignmonitor.com/css/) is poor and not even present in Gmail, I have to use inline styles.
4. The problem: I cannot put inline styles in the elements that are generated. There is no option for that in the plugin, nor can I use CSS selectors. Therefore , I can’t style the list of posts that is dynamically generated in the newsletter.
I hope I explain my problem clear enough. I’m banging my head against the wall over this issue but I have discovered no way of doing this.
Any thoughts or ideas?
Best regards,
Jelmer
I intended to use markdown to make a list, but apparently that didn’t work out. Hope it’s still clear like this.