ASP.NET 3.5 Background image (VB) RRS feed

  • Question

  • I have a tricky problem. I have already made a masterpage, along with a style sheet. The masterpage will be used as a format to make several websites.. yes websites not webpages. The thing is that each website will have a different background image. So how do I put a background image on each of the websites? The style sheet will also be used for all the websites. I want to be able to put the background image on the individual webforms.

    So I have this:

    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">




    Where do I put it? What are the correct tags? 

    • Moved by Andreas Johansson Tuesday, October 4, 2011 12:53 PM ASP.NET (From:Visual Basic General)
    Tuesday, October 4, 2011 10:14 AM

All replies

  • Be aware this forum is for Visual Basic as it is used in Visual STudio Net. 

    That can mean also ASP.Net

    But then it is about the  code behind page. 

    Your question is completely about the HTML part of the pages (masterpage).

    Try for that 


    Feel free if you can show some VB code which you use to show that here to explain that more. 

    (VB Code in VB Net style not scripting VB as used in HTML).


    Tuesday, October 4, 2011 11:33 AM