Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hello,
I've just implemented the inline block function in the project I'm working on.
I do however have some issues with the rendering of the content area. The inline blocks won't show up at all if I'm using the regular old syntax like this:
The inline blocks show up if I instead render my content area like this:
The problem I'm facing is that the later syntax breaks some of my other blocks since it adds an extra div. Like this:
The empty divs should contain a layout block that doesn't show up at all because of the extra divs.
I would prefer using the later syntax for rendering my properties, but is there a way to use it without adding an extra HTML element?
If there isn't, how can I render my inline blocks with the Html.PropertyFor-method?