Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CSS multiple images in one background

  • 11-11-2009 12:26AM
    #1
    Closed Accounts Posts: 8


    Hi guys, I'm using css and html, but can't get two images to be in the same background one after the other..any ideas?

    Thanks


Comments

  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    I don't know how myself, but why not just combine the two images together, make them one big image side by side using GIMP or something?


  • Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭Placebo


    you could place them in divs and use z index property and place everything on top etc


  • Registered Users, Registered Users 2 Posts: 3,594 ✭✭✭forbairt


    As was said already ... I think the simplest will be just to use a graphics package to merge the two images and then use the resulting image as the background. You could also write a script to merge two images via PHP ...cache the resulting image and output that if you'll be requiring merged images on a regular basis ... but in terms of CPU usage it'll be quite intensive doing it on the fly especially if the site is busy


  • Registered Users, Registered Users 2 Posts: 1,821 ✭✭✭Skud


    http://event-horizon.twiddles.com/sites/experimental/css3-bg/

    otherwise google might help :) worth playing around but being standard compliant or render properly on all browsers is still quesitonable.


  • Closed Accounts Posts: 263 ✭✭HandWS LTD


    shamboss wrote: »
    Hi guys, I'm using css and html, but can't get two images to be in the same background one after the other..any ideas?

    Thanks


    I'm sorry but what exactly are you looking for? Image rollover? Gif animations? If you can explain more then we'll be able to provide an easy solution to your problem.


  • Advertisement
Advertisement