Skip to main content
Inspiring
Mar 24, 2016 11:45 AM UTC
Question

Divs in user-defined variables

RH2015 | WebHelp

Anyone know if there's a workaround for RH stripping out divs from user-defined variables? For some reason you can code divs in the "HTML source code view" but as soon as you switch to "Design view" and back, it strips them out, leaving just the text.

Thanks

Jonathan

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Jop_SmithAuthor
Inspiring
Apr 4, 2016 12:12 PM UTC

Thanks. Works fine with a <span>.

Translate
Willam van Weelden
Inspiring
Mar 28, 2016 12:05 PM UTC

Variables are inline and DIV's are blocks. I believe that is the reason RH doesn't like them. Try using <i> with a class applied for styling instead.

Translate
Community Expert
Mar 28, 2016 11:40 PM UTC

or a <span> so you don't have to use a style to remove the italics.

Translate