2 images in the header? is this possible?

Discussion in 'CSS' started by spik3yb0i, Apr 4, 2008.

  1. #1
    hi all.

    Im working on a site. URL is http://www.e-voice.org.uk/cas/

    The blue area next to the title of the page is done using CSS and is actually a image just repeated. I also want to place a logo image on the right hand side of the page in the header. Is is possible for me to place to images in the header? As I tried to paste both codes and one would overwrite the other. Has anyone got the code for this? :confused::confused:

    Thanks
     
    spik3yb0i, Apr 4, 2008 IP
  2. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The blue area next to the title of the page is done using CSS and is actually a image just repeated. I also want to place a logo image on the right hand side of the page in the header.

    ^^ Isn't this already on your site??
    It's not possible to place 2 background images on 1 div as far as i'm aware but this is no problem as you could just wrap it inside another div, or split it into 2 div's there are endless ways.
    I'm not sure i fully understand what you want otherwise i could help you out.
     
    wd_2k6, Apr 4, 2008 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dual background images is CSS3 which as far as I know only Safari supports.

    However, it looks like you've got a lot of divs already. I'm not sure how the blue is an image. Why isn't it just a background colour? You can have both a background colour and an image together. Though I don't see the blue going over to the round thing.

    Maybe show us an image of what you really want? I don't have my tools with me because I'm home sick on another machine but there's usually a way to wrangle it. You want to try to use a div that's already there, but if that's not possible, you'd have to make another one just for the background image.

    By the way, I noticed a skip link. Way to go!
     
    Stomme poes, Apr 4, 2008 IP