Background image question

Discussion in 'ASP .Net' started by =?Utf-8?B?QnJhZA==?=, Nov 27, 2005.

  1. I am using ASP 2.0 with Visual Studio 2005 Standard. For some reason, I
    cannot get a picture to display as a background.

    I have the following:
    <td style="width: 200px; font-family: Verdana; background:
    url(Images/book-side.jpg) fixed repeat-y left top;background-color: #cc9966;"
    valign="top">

    Is there something wrong here, or am I missing something.

    Thanks for the information.
    =?Utf-8?B?QnJhZA==?=, Nov 27, 2005
    #1
    1. Advertising

  2. According to the MSDN library the correct order of parameters should be

    background: #cc9966 url(Images/book-side.jpg) repeat-y top left ;

    You can always try using separate properties like background-image:
    url(Images/book-side.jpg);

    Eliyahu

    "Brad" <> wrote in message
    news:...
    >I am using ASP 2.0 with Visual Studio 2005 Standard. For some reason, I
    > cannot get a picture to display as a background.
    >
    > I have the following:
    > <td style="width: 200px; font-family: Verdana; background:
    > url(Images/book-side.jpg) fixed repeat-y left top;background-color:
    > #cc9966;"
    > valign="top">
    >
    > Is there something wrong here, or am I missing something.
    >
    > Thanks for the information.
    Eliyahu Goldin, Nov 27, 2005
    #2
    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. Raydog
    Replies:
    3
    Views:
    22,179
    Raydog
    Apr 9, 2004
  2. Noozer
    Replies:
    5
    Views:
    52,310
  3. jc
    Replies:
    3
    Views:
    1,716
  4. jc
    Replies:
    1
    Views:
    1,356
    Neredbojias
    Mar 19, 2008
  5. Dj Frenzy
    Replies:
    3
    Views:
    297
    Robert
    Feb 10, 2004
Loading...

Share This Page