DIV background-repeat background-image for shadowing effect

Discussion in 'HTML' started by jc, Mar 19, 2008.

  1. jc

    jc Guest

    RE: DIV background-repeat background-image?

    I can't seem to find or open my original post.

    Anyways, I'm trying to use style background repeat with DIV to get a
    shadow effect. I've seen people do this with Table, but I don't want
    to use table.

    The below results in nothing showing up. what am I doing wrong?


    <div style="height:5px;width:800px;background-repeat:repeat-x;
    background-image:'App_Themes/xxxxImages/top_bg_shadow.gif'" >
    </div>
     
    jc, Mar 19, 2008
    #1
    1. Advertising

  2. jc

    Neredbojias Guest

    On 19 Mar 2008, jc wrote:

    > RE: DIV background-repeat background-image?
    >
    > I can't seem to find or open my original post.
    >
    > Anyways, I'm trying to use style background repeat with DIV to get a
    > shadow effect. I've seen people do this with Table, but I don't want
    > to use table.
    >
    > The below results in nothing showing up. what am I doing wrong?
    >
    >
    > <div style="height:5px;width:800px;background-repeat:repeat-x;
    > background-image:'App_Themes/xxxxImages/top_bg_shadow.gif'" >
    > </div>


    Here's an example from the css specifications:

    body { background-image: url("marble.png") }

    --
    Neredbojias
    http://www.neredbojias.com/
    Great sights and sounds
     
    Neredbojias, Mar 19, 2008
    #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. sangam via .NET 247

    overriding,shadowing concept

    sangam via .NET 247, Apr 30, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    3,215
    Sanjeeva
    Jun 23, 2004
  2. Nick Stansbury

    Shadowing Question

    Nick Stansbury, Nov 16, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    478
    Scott Allen
    Nov 16, 2004
  3. Aguilar, James

    Shadowing a parameter

    Aguilar, James, Aug 8, 2004, in forum: C++
    Replies:
    3
    Views:
    22,601
    Peter Ammon
    Aug 9, 2004
  4. jc
    Replies:
    1
    Views:
    948
    Bergamot
    Mar 19, 2008
  5. jc
    Replies:
    3
    Views:
    1,733
Loading...

Share This Page