Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 21st, 2010, 10:42 AM
Authorized User
Join Date: Jul 2009
Posts: 61
Thanks: 15
Thanked 1 Time in 1 Post
Default Increasing length of sidebar to match main content

I have a two column layout. The main content is in the right column and this could cause the overall length of my page to increase.
The left column may contain some content buts has a plain color set as its background.
I need to get the left column height to grow to match the right clumn so that the colour extends the full length of the column.
relevant part of my master page (the 'content' div was added in an attempt to solce the problem! :
      <div id="content">
      <div id="leftsidebar" >
        <asp:ContentPlaceHolder id="LeftColumn" runat="server"> 
      <div id="maincontent" >
        <asp:ContentPlaceHolder id="MainColumn" runat="server"> 
relevant styles from my css page:
  min-height: 520px;
  overflow: hidden;

  display: block;
  width: 200px;
  float: left; 
  padding: 0px 5px 0px 5px;
  background-color: #D6C4DC;
  min-height: 520px;
  display: block;
  margin-left: 215px; /* margin-right: 185px; */
  padding:0px 10px 0px 10px;
  margin-top: 25px;
  margin-bottom: 0px;
  width: 725px;
Geoff Baldwin

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6: Sidebar Goes Here CSharp0101 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 April 13th, 2010 03:31 AM
template match doesnt match the required node Tomi XSLT 2 March 12th, 2007 06:24 AM
Increasing the imageable size when printing nilsnorden BOOK: Beginning Java 2, JDK 5 Edition 0 February 23rd, 2007 11:19 AM
HTTP HEAD not showing content-length atacus Beginning PHP 0 August 30th, 2006 09:39 PM
prob.. in the increasing of sring values.. abhit_kumar JSP Basics 0 January 7th, 2005 04:49 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.