As a website grows, we sometimes run into times where we would like to assign a special style to a content element or group of content elements, but there is no easy way to do this in TYPO3 without creating a new page template. All we really want to do is wrap a
div tag around the group of elements we are styling with a CSS class to give them any style we need from our own stylesheets. For example, we might want to highlight a group of content elements with a color background or border.
We will create a flexible content element to output a
div tag with a blank
class attribute that can contain normal page content elements. The FCE will have a field for the class, so our editors can fill in whatever class they need ...