SharePoint 2010 Removes the background-image

Sometimes when you try to edit the source HTML of the page editor, you need to syles. The page accept your styles except one of them which is “background-image”. SharePoint consider this style as dangerous. Now when you write the follwoing in your HTML editor:

<p>Hello world</p>

now save the page and try to edit it, you will notice that the background-image removed.


  1. Open SharePoint designer
  2. Create a new html page
  3. Write down you html with css
  4. Go back to you sharepoint page and edit it
  5. Add the web part “Content Editor”
  6. Edit the web part properties.
  7. In the Content Link, write the path to you HTML page
  8. Done


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s