473,765 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

2 Backgrounds with CSS - Problem with IE6

duhcoolies
3 New Member
I have a table-cell (width=!00%) with a background (BG1), and within this table-cell I have another table-cell (again width=100%) with another background (BG2). BG1 needs to be tiled horizontally only and I have achieved this. BG2 (small image) needs to be located at the bottom left corner and I dont want to tile this... I have achieved this as well. I achieved both backgrounds with CSS by adding the CSS styles to the td tag of each table-cell. It all works fine in IE7 and Firefox.

The problem I have is, in IE6 the background image (BG2) stretches to the length and width of the browser. How can I correct this? Am not a CSS expert :C

Help?
Aug 23 '07 #1
2 1832
drhowarddrfine
7,435 Recognized Expert Expert
IE has some serious problems with overlapping background images. You should never use tables for laying out images anyway. Use CSS.

Sorry for being brief. Getting ready to go out of town.
Aug 23 '07 #2
duhcoolies
3 New Member
IE has some serious problems with overlapping background images. You should never use tables for laying out images anyway. Use CSS.

Sorry for being brief. Getting ready to go out of town.

I dont know CSS that well. Only know to use it as styles on text and other small things :[
Aug 23 '07 #3

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

Similar topics

1
2691
by: RoDzZzZ | last post by:
when i try print (ctrl +p) my webpage, my printer not print the backgrounds and bgcolors of my tables.... what i need make to show the backgrounds and bgcolors in my paper when the user print the page? thankzzz
2
1524
by: Greg Locke | last post by:
Hi All I am programming MFC Visual C++ using Microsoft Visual Studio.net 2003 under Windows XP professional. I have developed some bitmaps as graphic overlays for buttons. I had trouble finding a colour for the bitmap backgrounds from the standard pallette that matched the xp beige standard button color. Managed to do this by creating one from RGB numbers in another editor, but I suspect it shouldn't have been this awkward. I now also...
6
2361
by: MLH | last post by:
I have a logo image that I can paste into MS Paint as an image with clear background. Think of the logo as a black circle in a white, rectangular background. When I paste into Paint, the white back- ground can be made "clear" so it does NOT overwrite other image data when I'm pasting into an existing picture. Just the circle would appear after the paste is made. However, when I try to accomplish the same thing with an Access 97 form,...
0
1386
by: ghadley_00 | last post by:
Hi, Have created 2 seperate reports that have different images as backgrounds. Would like to have both pages print out as 1 print job (so duplex printer will make each report page on opposite sides of page) - I tried placeing both reports as subreports in a single report (lets call it SuperReport), but in that case the image backgrounds get overwritten by whatever image is set as the background for SuperReport. Any suggestions on how I...
6
1433
by: Rik Brooks | last post by:
I'm developing Web Applications with C# code behind. I have found that, because of the particular nuances of my company, I am stuck with positioning the items on the page with tables. No problem with that though. The problem is that some of the controls on the screen are displayed with yellow backgrounds and I can't figure out how to change that to white (as the others are). Nothing I do seems to make a difference. Could someone give...
1
3434
gregerly
by: gregerly | last post by:
I'm a total flash / actionscript newbie. I have a question about how to create a flash background as seen here: Adobe MAX I don't expect a detailed explanation. I'm just looking for some info on how they create the particle effects and moving backgrounds. It looks really cool but I wouldn't know where to start to create something like that. Thanks, Greg
1
1687
by: alice | last post by:
I'm trying to have a background image in a div, then have several divs within that div that have black backgrounds. The problem I'm finding is that in Firefox and Safari, the first background image does not show through on the other divs, it's as if the black background takes over, and the space around it reverts to the body background, not the background image of the containing div. Is there a way around this?
1
2223
by: matturn | last post by:
Is there any way to get IE7 to render the whole viewpoint without forcing a page reload? If you set a DIV to 100% wide or high, and give it a background; that background will not be rendered if it isn't on the screen when the page loads. Scrolling to non-visible parts of the page will reveal huge blank areas. Is there any technique to fix this, causing the backgrounds to appear like Firefox et al?
6
3096
by: Johan | last post by:
I can set/change a background with: document.getElementById("photodiv").style.background = "#282828 url(../img/pict_1.jpg)"; How do I set/change multiple backgrounds using javascript?
0
9568
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10007
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8832
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7379
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5276
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3924
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.