Results 1 to 2 of 2

Thread: <div> text with background image - error

  1. #1
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default <div> text with background image - error

    I having a problem with a background image in a <div>, the image is inserted with background-image:url(). Any images or text I add to the <div> are displayed after the background image not on top of. What's up with that?

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Code:
    div#id{
    background-image:url("./myimage.jpg");
    }
    It wouldn't do that unless there was a problem somewhere else in your css/html. Post your code or a link to it and we'll check it out.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •