[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.8

2 Column Layout - Header and SideBar Issues.

Asked by AccuLink in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Miscellaneous Web Development

Tags: css, asp, hyperlink

I am trying to build a site that contains a 2 column layout containing a Header and a Sidebar on the left.  To help give you a quick idea of what I am trying to build, take a look at this site: http://limpid.nl/lab/css/fixed/header-and-left-sidebar

The one thing that I want to do differently is to get rid of the fact that the Header and Left Sidebar are in an absolute position (which of course causes them to "Stick" to the upper and left sides of the page).

I have accomplished this to some extent but I have ran across two problems with what I have created.
1) The Left Sidebar expands the entire length of the body PLUS the height of the header.  I just want it to expand all the way down to the bottom of the Browser window.
2) The Header does not expand to the right if the contents in the "Content Area" expand to the right larger than the browser window can display.

So my question is, based on the information provided above, could someone please help me develop the layout that i described above?  I would prefer an answer in CSS.

Thanks.


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">

    <title>Layout</title>
   
    <!-- STYLES -->
            <link href="../CSS/GlobalStyles.css" rel="stylesheet" type="text/css" />
            <link href="../CSS/MainContentStyles.css" rel="stylesheet" type="text/css" />
            <link href="../CSS/SideNavigationBar.css" rel="stylesheet" type="text/css" />
            <link href="../CSS/HeaderStyles.css" rel="stylesheet" type="text/css" />
    <!-- //END// -->

   
</head>
<body>
    <form id="form1" runat="server">



        <!-- Header Section -->
            <div class="bannerMain">

            </div>
        <!--//END//-->


        <!-- Side Navigation Bar -->
            <div class="cssSideNavigationBarMain">
           
                <div class="cssSideNavigationBarSection">
                    <asp:Image ID="Image1" ImageUrl="~/SidePanelImages/Header1.jpg" runat="server" />
                    <asp:HyperLink ID="HyperLink2" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/Page1.aspx">Page1</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink1" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/Page2.aspx">Page2</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink11" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/Page3.aspx">Page3</asp:HyperLink>

                </div>
               
                <div class="cssSideNavigationBarSection">
                    <asp:Image ID="Image2" ImageUrl="~/SidePanelImages/Header2.jpg" runat="server" />
                    <asp:HyperLink ID="HyperLink9" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage1.aspx">SearchPage1</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink4" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage2.aspx">SearchPage2</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink5" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage3.aspx">SearchPage3</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink6" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage4.aspx">SearchPage4</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink7" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage5.aspx">SearchPage5</asp:HyperLink>
                    <asp:HyperLink ID="HyperLink3" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/SearchPage6.aspx">SearchPage6</asp:HyperLink>
                   
                </div>

                <div class="cssSideNavigationBarSection">
                    <asp:Image ID="Image3" ImageUrl="~/SidePanelImages/Header3.jpg" runat="server" />
                    <asp:HyperLink ID="HyperLink10" runat="server" CssClass="cssSideNavigationBarItem" NavigateUrl="~/Pages/Page4.aspx">Page4/asp:HyperLink>
                    <asp:HyperLink ID="lnkLogout" runat="server" Text="Page5" NavigateUrl="~/Pages/Page5.aspx" CssClass="cssSideNavigationBarItem"></asp:HyperLink>
                </div>

            </div>
        <!--//END//-->


        <!--//MAIN CONTENT AREA HERE//-->
            <div class="mainContent">
                         
            </div>
        <!--//END MAIN CONTENT//-->

    </form>
</body>
</html>    



/* < Global Styles > */
/* ================================================================================================================= */
html
{
      height: 100%;
      width: 100%;
}

body
{
      height: 100%;
      width: 100%;      
      margin: 0px;
      padding: 0px;
}

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */



/* < Header Styles > */
/* ================================================================================================================= */

div.bannerMain
{
            /* Blue */
      background-color: #333399;
      width: 100%;

      display: block;
      
}

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */



/* < Main Content Styles > */
/* ================================================================================================================= */
div.mainContent
{
      padding: 20px 0px 0px 20px;
      display: inline;
      float: left;


}

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */



/* < Left Sidebar Styles > */
/* ================================================================================================================= */
div.cssSideNavigationBarMain
{

      background-color: Green;
      height: 100%;
      width: 152px;
      float: left;

}


div.cssSideNavigationBarSection
{

      margin: 0px 0px 5px 0px;

}



.cssSideNavigationBarItem
{

      display: block;
      cursor: pointer;
      color: White;
      font-family: Arial;
      font-size: small;
      font-weight: bold;
      text-decoration: none;
      padding-left: 3px;

}


.cssSideNavigationBarItem:Hover
{

      display: block;
      cursor: pointer;
      color: White;
      font-family: Arial;
      font-size: small;
      font-weight: bold;
      background-color: Black;

}
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
[+][-]06/27/07 05:27 PM, ID: 19377376Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Miscellaneous Web Development
Tags: css, asp, hyperlink
Sign Up Now!
Solution Provided By: oceanbeach
Participating Experts: 3
Solution Grade: A
 
[+][-]06/22/07 07:26 AM, ID: 19341632Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 07:30 AM, ID: 19341684Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 07:31 AM, ID: 19341687Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 07:32 AM, ID: 19341699Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 07:36 AM, ID: 19341752Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 07:37 AM, ID: 19341756Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 07:41 AM, ID: 19341784Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 07:55 AM, ID: 19341922Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 08:00 AM, ID: 19341971Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 08:01 AM, ID: 19341981Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 08:20 AM, ID: 19342139Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 10:08 AM, ID: 19343026Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 10:51 AM, ID: 19343375Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 12:32 PM, ID: 19344206Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/22/07 03:00 PM, ID: 19345222Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/22/07 05:04 PM, ID: 19345928Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/23/07 08:35 AM, ID: 19348038Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/25/07 07:04 AM, ID: 19355669Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/25/07 07:37 AM, ID: 19355959Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/25/07 07:55 AM, ID: 19356111Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/26/07 06:18 AM, ID: 19363321Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/26/07 07:25 AM, ID: 19363950Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/26/07 07:27 AM, ID: 19363970Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/26/07 09:59 AM, ID: 19365707Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/26/07 10:17 AM, ID: 19365862Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/28/07 06:43 AM, ID: 19380572Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/28/07 08:02 AM, ID: 19381391Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92