asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arun3232
    New Member
    • Apr 2010
    • 4

    asp.net

    how to display backgroung image in asp.net..
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    You use CSS.
    Set the background style for the <body> element.

    For example (using a CSS class):
    Code:
    body{
      background: orange url('www.mydomain/backgroundImage.jpg') repeat-x left top;
    }
    For example (using inline style):
    Code:
    <body style="background: orange url('www.mydomain/backgroundImage.jpg') repeat-x left top;")>
    Look up CSS Background for a better understanding.

    -Frinny

    Comment

    Working...