make div expand the rest of the page width

Posted on 2009-12-18
Last Modified: 2012-05-08
Can someone please look at this page: and tell me how I can make the green div expand to the rest of the page? I have a min width of 780 and set a width of 100% but is it wrapping for some reason :(


Question by:judsonmusic

    Expert Comment

    I'm not entirely sure what the problem is - the green div expands to the entire width of the page on Chrome, Firefox and IE8. Haven't tried IE6 or 7,
    LVL 3

    Accepted Solution

    I think I fixed it. I removed the float left attribute. COuld that have been causing it?
    LVL 4

    Expert Comment

    yes, cause specify the min width the maximum width already. Also i found you have duplicated style sheet link in your page as well. For two or three column css website layout design I would recommend you using Adobe DreamWeaver CS3 or CS4 it would be helpful and easier.

    LVL 3

    Author Comment

    I am using CS4 how does that make it easier??

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
    The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now