Apply CSS Background Image? RRS feed

  • Question

  • Hello, I am new to Visual Web Developer and I am confused about how to apply CSS to each page.

    I wanted to take an image to put behind me HTML that was a page, so it looked like the text was on a physical paper page. (The image)

    When I go into the "Manage Styles" on the current HTML page, and try adding the background, it will not show up or will only appear on one line. I can't do it with HTML because the image will tile. Any suggestions?  Thanks in advance

    • Moved by Harry Zhu Tuesday, April 6, 2010 6:34 AM (From:Visual C# Express Edition)
    Saturday, March 27, 2010 9:17 PM

All replies

  • Hi,

    Please try this

        <form id="form1" runat="server">
        <div style="background-image: url('Picture.jpg'); background-repeat: no-repeat; height: 768px;">

    Monday, March 29, 2010 4:20 AM
  • Hi,

    For the
    questions relating to asp.net ,please post to: http://forums.asp.net/.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Tuesday, April 6, 2010 6:33 AM