Can't get div to stretch down all the way

Hi!
I hit a brick wall trying to have two graphic elements always stay on the left and right edges of the browser window while stretching all the way down. The elements need to repeat-y so I put them inside two divs. I can get the elements to fill 100% of the browser window, but it always stops there (which means that when I have a lot of content in my main_content div, the side elements stop where the 100% of the browser window height was).
I have a page with a structure like this:
<body>
<div id="I_want_this_guy_to always_stay_on_the_left_edge_of_the_browser">
</div>
<div id="I_want_this_guy_to always_stay_on_the_right_edge_of_the_browser">
</div>
<div id="wrapper_here_goes_all_my_content">
<div id="main_content">
</div>
</div>
And I have CSS like this:
html {
     height: 100%;
body {
    background-image: url(images/bg.jpg);
    background-repeat: repeat;
    background-position: 600px
    margin: 0px;
    padding: 0px;
    height: 100%;
#wrapper_here_goes_all_my_content {
    width: 855px;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
    position: relative;
    min-height:100%
#main_content {
    background-image: url(images/bg_red_paper.png);
    width: 805px;
    background-repeat: repeat-y;
    min-height: 800px;
    padding-top: 125px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
#I_want_this_guy_to always_stay_on_the_left_edge_of_the_browser {
    background-image: url(images/big_sidefilm_left.gif);
    width: 198px;
    min-height: 100%;
    background-repeat: repeat;
    float: left;
#I_want_this_guy_to always_stay_on_the_right_edge_of_the_browser {
     background-image: url(images/big_sidefilm_left.gif);
     width: 198px;
     min-height: 100%;
     background-repeat: repeat;
     float: left;
But it doesnt work.. The two side elements will only strech 100% of the original browser window frame and not where the content on the main_content is pushing the window to stretch.
I also made a crappy picture of the problem, allthough I'm not sure if it helps to illustrate
Any help will be highly appreciated! Thanks!

I just did this today with my new site.  It's a fixed-width 960 px 3 column layout.  Each sidebar is 200 px with 10 px padding all around and both sidebars are the same color.
I'm not sure if there is an easier way, but I created a 960x20 px image in PS, filled it with the main content color, then created a separate 220 x 20 px image and filled it with the sidebar color.  I used copy and paste to move the 220 px image into the main image, then positioned them at each end.  I saved it as a gif, loaded it as the container background with repeat-y, and it seemed to work out ok.  here's a link to the site:  http://www.dirtbikes101.com
Hope this helps.

Similar Messages

  • I have a toshiba lap top computer with vista and I can not get my iphone to connect all the way .. it says "connected with limited activity"?

    I have a toshiba lap top computer with vista and I can not get my new iphone to connect all the way .... it says "connected with limited activity". which means I don't get on. Any help would be appreciated. Thanks.  

    Hi all,
    Guess I understand what is going on as I'm also experiencing the problem.
    Basically the issue is about the iPhone 4's personal hotspot.
    I'm trying to hook on personal hotspot to my toshiba laptop but it couldnt work as the connection is limited to local only without Internet access.
    The hotspot works well on other laptop and I-devices, but not my toshiba...
    Hope to get assistance here. Thanks

  • I have ipad2 and I tried to turn it off by the sliding the red bar like 5 hours ago, it now has the circle of little lines going around the circle in the center of it and I can't get it to go off all the way or come back on! Someone please help.

    I tunes will not recognize it when plugged in since it is doing this thing, and I just don't know what to do. I just finished completing a final project on pages for school and now I'm worried I might not get this thing working before Wednesday to turn in the assignment!!!

    First, try simply plugging into your wall charger and not the computer.  If that does nothing do a hard reset by holding your home and power button down at the same time until the Apple logo flashes back on the screen and release.  Typically about 6-8 seconds.  If that doesn't do it, you might need to put it into DFU mode.  Try the first two and let me know how it goes before we do the DFU procedure.

  • Should I take my iPhone 4 to the apple store to get my vibrate button? Because it doesn't go down all the way

    My iPhone 4 vibrate button doesn't go down all the way, could I get that fixed?

    If it is defective and still under warranty then they wil replace the iphone for free.
    If it is not under warranty then you can buy an out of warranty replacement.  In the U.S that would cost $149

  • Where can I get a complete list of all the new features in ios5.0?

    Where can I get a complete list of all the new features in ios 5.0?

    iPad: Which iOS 5 features does my iPad support?
    iPad: Which iOS 5 features does my iPad support?
    http://support.apple.com/kb/HT4559

  • Hi, Just bought an ipod classic 160gb and i notice that when I turn the volume down all the way, music is still heard, i.e. I cannot turn it down lower than a certain volume. Is there a fix for this? Thanks

    Hi, Just bought an ipod classic 160gb and i notice that when I turn the volume down all the way, music is still heard, i.e. I cannot turn it down lower than a certain volume. Is there a fix for this? Thanks

    I've got a feeling that's the way it is. I know that if I turn the volume down all the way, I can still hear the music very softly -- which is great for listening when I have a migraine!

  • Is it better for your battery if you let it run down all the way and then charge it? Or to charge it whenever you have the opportunity?  Which is better for the life of the battery?

    I was wondering it the life of the battery would last longer if you let the battery run down all the way and then charge it? Or to charge it whenever you have the opportunity even if it doesn't have a low battery?  Which is better for the life of the battery and prolong the life of the battery?

    I've had a iPhone 4s since March 2012, and it's battery is pretty useless now.  I was using the app Battery Doctor (Battery Saver, Battery Life) by Beijing Kingsoft Internet Security software, which encourages the user to charge more often, whenever battery life drops below 100% full and greater than 20% full, and gives ratings according to the number of full, partial &amp; overcharges done, but I'm concerned that charging like that actually results in worse battery life??
    I now have an new iPhone 5 and don't want the battery to only last as short as the last one did
    Any advice/comments please

  • Itunes library will not close down all the way

    My iTunes library will not close down all the way.  When I close the library I am unable to log back in or turn my computer off because itunes is still running although I x'd it out.

    You're right, you shouldn't have to do that.
    Well, you didn't say whether you've tried uninstalling & reinstalling itunes. Make sure it's installed with an admin user account. Then go into the WIndows Event Viewer and see if there are any error messages about any of the itunes processes in the installation package. That could give us a clue of what's going wrong.
    Another thing that could be causing the problem is the "apple push" part of itunes, APSDaemon.exe. Read wiclee's post here about it.
    https://discussions.apple.com/thread/3734882?start=0&tstart=0

  • HT4528 I just got a replacement iPhone 4s and i let the battery run down all the way before charging it and now that i have put it on the charger it won't turn back on or show any signs that it is charging. its just a black screen. how do i fix it

    just got a replacement iPhone 4s and i let the battery run down all the way before charging it and now that i have put it on the charger it won't turn back on or show any signs that it is charging. its just a black screen. how do i fix it

    Keep iPhone on wall charger for ten minutes, it may turn ON itself. If still nothing, keep on charger and Reset, hold both home and power buttons for about 20 seconds until the iPhone begins to respond.

  • Trying to get this table to "bleed" all the way to the top.., Making a table "bleed" off to the top of browser

    Hi everyone.
    Im new to these forums, and have decided (or more like
    forced..hehe) to use CSS. Now, i am going over the tutorials, but
    have yet to see something that can help me out. (Or my CSS
    understanding needs more understanding). I am trying to make a
    table/div bleed all the way to the top and bottom.. If you take a
    look at this site:
    http://www.helenbwilson.com
    Ok, I want to keep the black background, but I want the white
    to run all the way to the top and bottom-that is, just having black
    to the sides. Can I acheive this, without having to do a complete
    makeover of the site? I am willing to do that, but right now, I
    want to get my friends site up and running, and when one is
    complete, I want to go in and re-do it in CSS (Which i will make
    another topic so I can get help with that..) But for right now, I
    was wondering if there is something I can do about it right now. I
    am using Dreamweaver 8.
    Any help would be greatly appreciated!
    Thanks, and hopefully I will get better at CSS..
    -psypent

    you have to remember what stacks are for, and many people don't.
    they're not designed to categorise and group images. they're designed to group images which are almost identical. for example, when I'm shooting a neighbourhood bird, I'll usually take 10 or more photos of the bird in the same setting with almost the same pose. I'm not sure which photo will have better focus or in which photo the bird's expressions will be better. once back in Aperture, I can group these near-identical photos into a stack and then rank them (I actually prefer to rank them first before stacking). the result is that I only see the best image from that set. if there are other photos in the stack that are different or that I might want to use independently, they'll have to be removed from the stack.
    alternatively but not as ideal, you could view the images in Multi mode, applying ratings and keywords to the images even while they are in stacks. you could then use Smart Albums to get to specific images within stacks by turning on the 'Ignore Stacks' preference at the bottom of the filter HUD.

  • Can I install Adobe CS3, and upgrade all the way through to CS5.5 on Lion?

    Hi,
    I have registered Adobe Suite products since CS3 (DVDs) and been incrementally upgrading to CS5.5 on my Macbook Pro late 2008.
    I recently bought a Mac Mini Server and I was wondering if I will be able to install my Adobe CS3 (imaged disks or external super drive) then run all my upgrades (see below) all the way through CS5.5 without any issues.
    1) Master Collection CS3 DVDs
    2) Design Premium CS4 DVDs
    3) Design Premium CS5 Download
    4) Design Premium CS5.5 Download
    I have read somewhere that I could perhaps skip the 2 older CSx, and instead, just install my CS5 from download and enter the earlier serial numbers (CS3 + CS4) requested. But until I receive the Mac Mini with Lion, I cannot try this and confirm if this actually works.
    Has anyone performed a similar installation on their Lion OS?
    Thank you.

    http://www.adobe.com/products/creativesuite/faq.html#lion-os
    Bob

  • We bought 2 iPhone.  4s cant get mail on my husbands phone it says not a MobileMe account  this account already been migrated to iCloud  we have desk top and can't get mail also we have all the apple  products

    Can't get the email on my husbands iPhone we bought 2 phones I am able to get mail on my I phone and IPad can't get it on it ouch desk top and husbands iPhone

    If you migrated your MobileMe account to iCloud, on your phone you should be able go to Settings>Mail,Contacts,Calendars>Add Account>iCloud and enter the Apple ID associated with your iCloud account.  On your desktop computer, you can configure your email client to get your @me.com email by following this guide: http://support.apple.com/kb/HT4864.

  • Imac g4 won't shut down all the way

    Recently installed OS X Tiger. When I shut down the computer all the icons and the dock on the desktop go away, but the computer doesn't completely shut off. Any ideas? Anyone? Thanks!

    Hello bad dad:
    Welcome to Apple discussions.
    I would run the hardware tester that came with your computer to see if it detects any problem.
    I would also run repair disk from your software install DVD.
    I would then (if the above do not "fix" anything) probably do an archive and install to eliminate software issues that may have occurred when you installed OS X:
    http://docs.info.apple.com/article.html?artnum=107120
    Barry

  • HT4623 I downloaded ios7 and initially it was working fine. Now it is flashing from my home screen to the white screen with the black apple every 3-5 seconds. It's so annoying and I can't make it stop! I tried shutting down all the way - nope! HELP!

    I downloaded ios7 on my iphone 5 yesterday. All day it worked fine, then last evening it started blinking from the white screen with the black apple to my home screen. Each screen only stays up for 3-5 seconds then switches back. I have tried shutting down and it is still happening! Does anyone know how to fix this issue without having to go into the store?

    Your power adapter is OK. If the only place it will not work is in your home, your house wiring and / or the appliances connected to it are likely to be the reason your Mac will not charge.
    From Troubleshooting MagSafe adapters:
    Identify line noise issues.
    Unplug the power adapter from the wall, let it sit for 60 seconds, then plug the adapter back in.
    If the adapter works after this 60-second "rest", you most likely have a line noise issue with your power source. You should reset the adapter periodically by repeating this moment of rest. This issue occurs when the AC adapter's "over voltage protection" feature senses ground noise and then turns off the adapter.
    Some possible sources of line noise include lights with ballasts, refrigerators, or mini-refrigerators that are on the same electrical circuit as your computer. This behavior may not occur if you plug the power adapter into an uninterruptible power supply (UPS) or plug it into a different circuit.
    Unless the adapter continues to exhibit this behavior on a known good outlet, it does not need to be replaced.
    Household wiring problems are very common. They can also be very dangerous. Fortunately most problems can be easily fixed by a qualified electrician.

  • Firefox won't close down all the way after watching a video. I exit out, and the sound continues. When I try to re-open firefox, I get a message about how I have to restart my computer. How do I fix this?

    Basically whenever I watch a video and I exit out of the video I have to restart my computer to get Firefox back open. If I exit out or go to a new page while the video is playing, the audio continues like nothing has happened. I've checked my task manager and it shows that Firefox is closed. When I try to re-open Firefox I get an error message that tells me Firefox is running but is unresponsive and I have to restart my computer. How do I get it to stop doing this?

    Try holding control, alt and delete down in succession and then a dialogue box will appear with windows task manager. Once open click on the Processes Tab and look for firefox.exe. Highlight this and then click end process. It should come up with a warning but just click Yes. This should then close firefox and allow you to reopen it from your desktop without shutting down your computer. Hope this helps.

Maybe you are looking for

  • Is VLC ok after the latest upgrade?

    hi~ cuz i didnt find anything, i am posting it here... Anyone of u having problems with VLC after the latest upgrades? (QT, iTunes, system upgrade) thanks....

  • What is the split document procedure in ECC - 6.0 version

    Hi All, Can any tell quickly what is the split document procudure in ECC - 6.00 and how many line item we can post in one document. Regards Nama

  • Loading Package - j2sdk 1.4.0

    Hi, If import java.util.*; is mentioned, at run time does JVM (j2sdk 1.4.0) loads entire util package or only requried classes? Thanks, Clark

  • CS3 fails installation - ALM to blame?

    I've been having the same frustrating time other people have trying to install CS3. Checking the logs, everything goes fine till: (Adobe) Installing ALM... (Adobe) ALM return code: 129 (Adobe) #_AdobeError_# 1603 does anyone know that these error cod

  • Does Personalization setting resets after Patch update

    Hello Everybody, We have a concern. We want to enable personalization for Web dynpro Java applications in NWA and then disable personalization for iviews where it is not required. For example after setting allow personalization to true in NWA i will