locked
Background editore for sharepoint 2007 wont let me edit it RRS feed

  • Question

  • Ok well I cant add the background to some of the pages to my website, here is the coding to a page on my site where the background editor wont work (meaning when I go to 'format' background then formatting on the toolbar in sharepoint editor, is there something thats in there or something I can add in order to fix this???  I really do not know much about coding, I use the copy and paste editor in sharepoint designer 2007, someone PLEASE help!!!

    Here is the entire code on my page:



    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 12.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>sample</title>
    <style>
    <!--

    <body style="background-image:url('http://www.gimpsgonewild.com/Fire2.jpg')">

    .roundcorner { background:transparent url('http://mail.yimg.com/a/i/us/pim/th/el/pink/rcstrip_01.png') no-repeat scroll -100px 0px; }
    .roundcorner { background:transparent url('http://mail.yimg.com/a/i/us/pim/th/el/pink/rcstrip_01.png') no-repeat scroll -100px 0px; }
    #yiv1763967462 #yiv1763967462avg_ls_inline_popup {padding:0px 0px;margin-left:0px;margin-top:0px;width:240px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:13px;}
    .undoreset *{line-height:1.2em;}
    -->
    </style>
    </head>

    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

    <body stylesrc="INDEX.htm">

    </body>

    </html>

    </html>

    Tuesday, December 10, 2013 11:42 PM

All replies

  • Hi oichick621, I'm not sure if I fully understand what you are trying to do. Are you looking to use the background from gimpsgonewild.com on your SharePoint site?

    Dimitri Ayrapetov (MCSE: SharePoint)

    Wednesday, December 11, 2013 12:19 AM
  • yes thats my site, and it wont let me add the pic on some of the pages, but others it does...like this one will let me edit:



    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">


    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 12.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>Models</title>
    <style>
    <!--

    .roundcorner { background:transparent url('http://mail.yimg.com/us.yimg.com/i/us/pim/th/el/pink/rcstrip_01.png') no-repeat scroll -100px 0px; }
    .roundcorner { background:transparent url('http://mail.yimg.com/us.yimg.com/i/us/pim/th/el/pink/rcstrip_01.png') no-repeat scroll -100px 0px; }
    #message1465289771 {
        PADDING-RIGHT: 0pt; PADDING-LEFT: 0pt; PADDING-BOTTOM: 0.8em; MARGIN: 1em 0pt; COLOR: #000; PADDING-TOP: 0.8em; POSITION: relative
    }
    .undoreset *{line-height:1.2em;}
    * { margin: 0; padding: 0;}

    a {
                    color: #33CCFF;
    }
    a:visited {
                    color: #33CCFF;
    }
    a:active {
                    color: #3366FF;
    }
    a:hover {
                    color: #FFFFFF;
    }
    -->
    </style>
    </head>

    <body bgcolor="#000000" text="#FF0000" style="background-image: url('Fire2.jpg')">

    </body>

    </html>






    What is the difference between this code and the one I gave earlier,?

    Wednesday, December 11, 2013 7:03 PM
  • I was just making sure, I would recommend downloading the image(s) that you need and store them within SharePoint as well to avoid extra external bandwidth and to maintain that the files are not dependent on each other.

    The main difference is that your second code block follows the HTML standard:

    <html>
    <head> ... </head>
    <body> ... </body>
    </html>

    Whereas your first code block doesn't have the same format. Another thing to point out is that the <body> tag in your second code has the background-image set whereas in the first, you have that part commented out and are then inserting a second <body> tag with the stylesrc=index.htm.

    One more thing to point out, your second code block is referring to the relative path to Fire.jpg. If you want it to work on other pages, you will need to supply the full URL to it.


    Dimitri Ayrapetov (MCSE: SharePoint)

    Wednesday, December 11, 2013 9:07 PM