Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: image placement

  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    56
    Thanks
    2
    Thanked 0 Times in 0 Posts

    image placement

    I am trying to place a background graphic and a logo in the same div of a header, but I can't find anything that is able to do this.... What am I missing. I thought of using a content property but that won't work in IE, and I tried just throwing in something liek a src property and directing it to a url and that didn't work. I tried making it a class, that didn't do anyhting. I know it's possible, I've seen it done, but man I don't remember when or where. Any suggestions?

  • #2
    New Coder
    Join Date
    Apr 2005
    Posts
    51
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Just use a container div with zero padding around (or inside) it.

  • #3
    New Coder
    Join Date
    Sep 2007
    Posts
    24
    Thanks
    4
    Thanked 1 Time in 1 Post
    I've done this by nesting a div inside your other div, or by giving the div a background image, then putting an image inside the div by using the <img> tag. However, I'm not sure if I'm clear on exactly what you are trying to do.

    Let me know if this helps.


  •  

    Posting Permissions

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