Thursday, January 20, 2011

Background on html/rich text editor in CEWP

When I added a graphic as background image to the site, CEWP's rich text editor picked it up as its background. Found a simple solution here

simply add a div within the body tag and
body .MyDiv {
background: url("myimage.gif");
}

instead of just
body {
background: url("myimage.gif");
}