Uncategorized How To Set Background Image In Div Tag Using Css : As the div gets bigger, the image should adjust accordingly. In the above code, the div with the id main_wrapper, i'd like to have the image i'm using fill up 100% of the screen, and the div with the id main_content i'd like to have a solid color, centered with only 1200px wide.