<body background="BMP/Header.gif" MS_POSITIONING="GridLayout">

  • Thread starter Thread starter Just D.
  • Start date Start date
J

Just D.

Who knows what should we include into aspx file to show some image as a
background picture but only once at the top of the page? I don't want to add
the Image control because even if it uses a transparent gif image I can't
use LinkButtons over this image.

The string that I'm using now is:

<body background="BMP/Header.gif" MS_POSITIONING="GridLayout">

Maybe I should use something else in place of GridLayout?

Thanks,
Just D.
 
Just D.,

You should use css styles.

body{
background-image:"BMP/Header.gif";
background-repeat:no-repeat ;
background-position :top center;
}

Layout option does not matter.

Eliyahu
 
Hi Eliyahu,

That's excellent, just one correction:

body
{
background-image:url(../gif/Header.gif);
background-repeat:no-repeat ;
background-position :top left;
}

Everything works fine now.

Just D.


Goldin
 
Back
Top