473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Two background images in IE 8

KeredDrahcir
426 256MB
I need to give a division tow background images. I found tha it could give it two background images and it works in Firefox, Safri, Opera and Google Chrome but not in IE 8. I have found it works in IE9 but is there a way to give a division two background images in IE 8, 7 & 6?

The CSS code I'm using is:
Expand|Select|Wrap|Line Numbers
  1. background-image: url(../images/box-top.jpg), url(../images/box-middle.jpg);
  2. background-repeat: no-repeat, repeat-y;
  3. background-position: top center, center center;
May 6 '11 #1

✓ answered by JKing

I still may be possible using absolute positioning but again I would need to see an image of the design to give you more direction.

7 2864
drhowarddrfine
7,435 Expert 4TB
You can never expect modern options such as this to work in IE. At a minimum, it takes IE 3 years to catch up to modern browsers and, typically, 10 years or more.
May 6 '11 #2
KeredDrahcir
426 256MB
I didn't expect IE to be able to do it that way but is there another way to do it while we wait for the rest of the world to upgrade to IE9?
May 6 '11 #3
drhowarddrfine
7,435 Expert 4TB
IE9 is a sideways move, not an upgrade. Moving to any other browser is an upgrade.

No. There is no other way.
May 6 '11 #4
KeredDrahcir
426 256MB
Are they any other options? I can't think of another way to do this.
May 6 '11 #5
JKing
1,206 Expert 1GB
Without seeing the design you are trying to achieve it is difficult to offer a proper solution.

However it is likely that what you want can be achieved by using two divs.
May 6 '11 #6
KeredDrahcir
426 256MB
I thought of using two divs but the content had to flow out of one and into the other.
May 6 '11 #7
JKing
1,206 Expert 1GB
I still may be possible using absolute positioning but again I would need to see an image of the design to give you more direction.
May 6 '11 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: lorelei | last post by:
Hey all, I have found two seperate HTML codes which claim to stop background images from being tiled. Neither of them seem to be working. I'm writing my codes in Textpad, and use Internet...
3
by: MediaDesign | last post by:
so there's the problem: my text links have background images and when I put links around images on my page, they too get the background image treatment which I do not...I have tried several...
3
by: ribinha | last post by:
Hi all, I am having problems loading background images on my pages. I have created a css to display the images. It works just fine on my test box, but when I tried on real pages it wont upload any...
2
by: Steve Franks | last post by:
I am familiar with the fact that you have to use runat=server and links staring with "~/" to ensure proper mapping of paths to relative URLs when using master pages. However this does not seem to...
0
by: Jeb Hunter | last post by:
Well, how can I describe this succinctly? I have a page with DIVs that us background images to produce a border effect. It works perfectly well, but I want to make up (for now) 3 different...
1
by: simct | last post by:
As part of my learning, I wrote the following codes to display 2 background images side-by-side: <head> <style type="text/css"> .image1 {background-image: url(images/sw1.jpg); ...
6
by: Rob | last post by:
Hello, I'm sure this has come up before. I have need for a collection of all elements/objects in an HTML document that have any kind of an attribute (HTML or CSS) that is making use of a URL to...
7
by: arupfrancis | last post by:
Hi, I am trying to create a colored box using background images. I am able to do it easily using tables but doing it in divs is proving to be an issue. Moreover IE and Mozilla also seems to be...
1
by: tlonthedl | last post by:
Hi, I am designing a theme for a wordpress blog and I am having some problems with repeating background images. Specifically, the background image will not show or repeat in the body, or in the...
1
by: suchar | last post by:
I have to alter one of wordpress themes, I got new images to replace the old ones, but ingenious designer has made some changes driving me mad. As it is I need to place two distinct background images...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.