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

Discussion in 'ASP .Net' started by Just D., Jan 12, 2005.

  1. Just D.

    Just D. Guest

    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., Jan 12, 2005
    #1
    1. Advertising

  2. 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

    "Just D." <> wrote in message
    news:Ey4Fd.1329$IS1.493@fed1read02...
    > 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.
    >
    >
     
    Eliyahu Goldin, Jan 12, 2005
    #2
    1. Advertising

  3. Just D.

    Just D. Guest

    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

    > 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
     
    Just D., Jan 12, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dot net work
    Replies:
    1
    Views:
    504
    Jeffrey Palermo [MCP]
    Nov 29, 2004
  2. tshad

    MS_POSITIONING="GridLayout"

    tshad, Mar 1, 2005, in forum: ASP .Net
    Replies:
    10
    Views:
    5,442
    tshad
    Mar 1, 2005
  3. dee
    Replies:
    2
    Views:
    2,926
  4. Replies:
    1
    Views:
    3,818
    JIMCO Software
    Sep 9, 2005
  5. nova_jsh01

    ms_positioning="GridLayout"

    nova_jsh01, May 20, 2004, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    177
    AMerrell
    May 26, 2004
Loading...

Share This Page