SharePoint : Workflow > Send an Email > Customizations (CSS)

%3CLINGO-SUB%20id%3D%22lingo-sub-2088309%22%20slang%3D%22en-US%22%3ESharePoint%20%3A%20Workflow%20%26gt%3B%20Send%20an%20Email%20%26gt%3B%20Customizations%20(CSS)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088309%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20customizing%20the%20body%20of%20an%20email%20send%20by%20SharePoint's%20Workflow%20action%20%22Send%20an%20Email%22.%3C%2FP%3E%3CP%3EKnowing%20that%20this%20action%20does%20not%20support%20what's%20inserted%20in%20the%20%3CSTYLE%3E%3C%2FSTYLE%3E%20tags%20and%20the%20only%20way%20is%20to%20do%20it%20inline%20within%20the%20target%20html%20tags%2C%20I'm%20currently%20facing%20the%20following%20issue%3A%20somewhere%20in%20my%20email's%20body%20text%2C%20I'm%20getting%20the%20value%20of%20a%20specific%20item's%20field%20(example%3A%20%5B%25CurrentItem%3ABody%25%5D%20which%20can%20contain%20images%20in%20between%20of%20the%20text.%20How%20can%20I%20apply%20the%20css%20in%20order%20to%20set%20this%20images'%20width%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EKind%20regards%2C%3C%2FP%3E%3CP%3EDuarte%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2088309%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ecascade%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECSS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECustomization%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EEmail%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWorklow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hello everyone,

 

I'm customizing the body of an email send by SharePoint's Workflow action "Send an Email".

Knowing that this action does not support what's inserted in the <style></style> tags and the only way is to do it inline within the target html tags, I'm currently facing the following issue: somewhere in my email's body text, I'm getting the value of a specific item's field (example: [%CurrentItem:Body%] which can contain images in between of the text. How can I apply the css in order to set this images' width?

 

Thanks in advance!

 

Kind regards,

Duarte

0 Replies