Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Divs in the editor


Go to End


1644 Views

Avatar
codemonkey88

Community Member, 24 Posts

24 October 2012 at 3:56am

I have created a 2 column layout in the editor using divs. When I press enter within these columns, it is creating new divs rather than <p> or <br> tags. Is there a setting to override this?

<code>

<div style ="float left; width:50%">
some text goes here
<div style ="float left; width:50%"> < --- This automated div is wrong! Should be either <br> or <p>
the next paragraph is here
</div>
</div>

</code>