473,503 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wrappers can't show background image behind other divs?

43 New Member
I'm not sure if this is possible, but I thought that my best shot would be to ask here.

My site's coming along well at http://www.antiriddle.com and I'm trying to improve on the current design. The layout I'm trying to do is a three-column layout and my markup looks like this:

<div id="contentwrapper">
<div id="leftcontent">
</div>
<div id="centercontent">
</div>
<div id="rightcontent">
</div>
</div>

Each div, except for the wrapper represents a different column. Currently, I only have a main body gradient going and everything else has a clear background. I tried making an image the width of my contentwrapper and applying it with repeat-x but it didn't work. Any idea for how I could use a single image behind all of these columns? Also, I tried slicing images but that just messed up with the padding.

Thanks in advance!
Aug 19 '07 #1
3 2157
akapsycho
43 New Member
Alright for one, I've realized that it should be repeat-y. Still haven't figured out the problem, but I'm still looking.
Aug 20 '07 #2
akapsycho
43 New Member
Another thing I've figured out is that although IE6 isn't supporting the transparent PNG, the background image does show up. It doesn't even appear in Firefox. Maybe this is some sort of known issue but I haven't been able to figure it out...
Aug 20 '07 #3
akapsycho
43 New Member
Ok I figured it out myself. I had to add a min-height value for the contentwrapper so that it knew how far to show the background image. I hope that it will expand as more content appears in the columns.
Aug 20 '07 #4

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

Similar topics

27
13550
by: Kevin Yu | last post by:
When I declare on HTML page <LINK href="mycss.css" type="text/css" rel=stylesheet /> .... <BODY class=myclass> in mycss.css BODY { FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY:...
12
6261
by: deko | last post by:
Is there any way to work around the blank space created by hidden divs? I'm trying to use a relatively postioned divs with show/hide behaviors to annotate an image. The divs show/hide...
4
9719
by: Mimo Zus | last post by:
I'm hoping that someone can explain what's going on; better yet provide a workaround. I'm designing a centered CSS site based on a 550 pixel wide vertical background image. Onto this background...
1
2012
by: Dan V. | last post by:
Does anyone know why the header looks correct in IE 6.0 and not Firefox 1.07? I am trying to have a header that looks good when you expand it wider and smaller. In other words when you shrink...
1
2018
by: laurakr | last post by:
I am trying to use a clear to get my bottom nav bar below the quote box on the right, but it isn't working. I would like the bottom edge of the quote box to "stick" to the footer nav bar but copy...
8
5334
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
4
3621
by: Gary | last post by:
Hello, I want a background image to display in the extreme bottom right corner. What I have works fine in IE7 and FF2 not so in Opera 9.1 Any suggestions? Page Posted at the the link. ...
3
5241
by: fletch | last post by:
I'm having a problem with my background image in DIVs. here is my code: CSS: #HeaderDiv { } #HeaderDivTopLeft
1
1951
by: anu30 | last post by:
i have the images i want it to display down of the list only .Please some one help me <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html>...
0
7203
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,...
0
7334
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...
1
6993
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
5579
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
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
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...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
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...

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.