Re: Styling mktEditable divs

Anonymous
Not applicable

Styling mktEditable divs

Is it possible to apply styles to editable images divs so that each week those images can be swapped out and the styles remain consistent?
For example: <div class="mktEditable" id="Main_image" style="padding-bottom:20px;">Main Image here</div>
Also, can you use the same technique for text styling?

thx
Tags (1)
2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: Styling mktEditable divs

Why would you apply inline styles instead of using CSS <STYLE> tags or external CSS?
Alok_Ramsisaria
Level 10

Re: Styling mktEditable divs

Hi Tony

No its not possible to do so. Rather you can use another element inside that <div> and define any styling you want for image/ text in that element. Everytime you want to update the image or text, then it can be easily done without altering the style tags.

Best Regards