I have a header band, two columns and then a footer band in the layout that I'm working on.I have Div on each side that is set to "Auto" for height so that the two column lengths appear to be the same size when they get to the footer band. That is how I envisioned it, in practice, "Auto" only seems to adjust to the text inside the respective divs.
Something that"hould" be soesy has gotten me banging my head for four days. I thught I had a solution, using "nesting tags" but saw that was not supported.
Any ideas?
http://whatwouldwaltdo.businesscatalyst.com/fl0916.html
Source code:
<!doctype html>
<!--[if lt IE 7]> <html class="ie6 oldie"> <![endif]-->
<!--[if IE 7]> <html class="ie7 oldie"> <![endif]-->
<!--[if IE 8]> <html class="ie8 oldie"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled Document</title>
<link href="boilerplate.css" rel="stylesheet" type="text/css">
<link href="/FL916.css" rel="stylesheet" type="text/css">
<link href="/stylesheets/FL.css" rel="stylesheet" type="text/css">
<link href="/SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
<!--
To learn more about the conditional comments around the html tags at the top of the file:
paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither /
Do the following if you're using your customized build of modernizr (http://www.modernizr.com/):
* insert the link to your js here
* remove the link below to the html5shiv
* add the "no-js" class to the html tags at the top
* you can also remove the link to respond.min.js if you included the MQ Polyfill in your modernizr build
-->
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="respond.min.js"></script>
<script src="/SpryAssets/SpryAccordion.js" type="text/javascript"></script>
</head>
<body>
<div class="gridContainer clearfix">
<div id="bannertop"><img src="/images/Walt w CMS PIN.fw.png" alt="Walt Disney with Disneyland Cast Members (1966)"></div>
<div id="ticker">This is the content for Layout Div Tag "ticker"</div>
<div id="blocker">
<div id="leftcolumn">This is the content for Layout Div Tag "leftcolumn"
<div id="Accordion1" class="Accordion" tabindex="0">
<div class="AccordionPanel">
<div class="AccordionPanelTab">HOME</div>
<div class="AccordionPanelContent">
<img src="/images/graphics/pagetitles/toallwhocome.gif" alt="The opening line of Walt Disney's dedication speech at Disneyland, "To all who come to this happy place, welcome ..."" width="192" align="absmiddle">
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Pins</div>
<div class="AccordionPanelContent">
<p>Ordering</p>
<p>Presenting a Pin</p>
<p>Collectors' Corner</p>
<p>Why a Pin?</p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Cast Members</div>
<div class="AccordionPanelContent">
<p>Newest</p>
<p>Nominate Your Own</p>
<p>Alphabetical</p>
<p>By Company/Location</p>
<p>By WWWD Pin</p>
<p>Cast Members' Reactions</p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Traditions</div>
<div class="AccordionPanelContent">
<p>Guests' Traditions</p>
<p>Share Your Traditions</p>
</div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">Adventures</div>
<div class="AccordionPanelContent">
<p>Guests' Adventures</p>
<p>Share Your Adventures</p></div>
</div>
<div class="AccordionPanel">
<div class="AccordionPanelTab">City Hall</div>
<div class="AccordionPanelContent">
<p>Waltisms</p>
<p>The WWWD Story</p>
<p>About Us</p>
<p>That First Trip</p>
<p>About Us</p>
<p>Ordering</p>
<p>About Us</p>
<p>Ordering</p></div>
</div>
</div>
<div id="social">This is the content for Layout Div Tag "social"</div>
<div id="printer">This is the content for Layout Div Tag "printer"</div>
<div id="banner"><img src="/images/graphics/reg sidebargraphic.gif" alt="White Mickey head with a circle of stars on a blue field"></div>
</div>
<div id="copy">This is the content for Layout Div Tag "copy"<br><br><P> <FONT SIZE="-1" COLOR="#CC0000">Copyright © 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002 Founder's
Legacy Inc. </FONT><BR>
<FONT SIZE="-1" COLOR="#CC0000">What Would Walt Do and WWWD are trademarks
of Founder's Legacy, Inc.</FONT></P>
<P><FONT COLOR="#000081" SIZE="-1">Founder's Legacy, Inc. is a member
of the Disney Store.com Affiliate Network. As such we are authorized
to display the Disney Store banner on any or all of our webpages.
Founder's Legacy is also listed with The Disneyland Resort Press &
Publicity Department, images used are with their permission.</FONT></P>
<P><FONT COLOR="#000081" SIZE="-1">Founder's Legacy, Inc. is not part
of The Walt Disney Company. The only other relationship between Founder's
Legacy, Inc. and The Walt Disney Company is various members of the
Founder's Legacy Inc.'s Board of Directors and/or their family are
shareholders in The Walt Disney Company.</FONT><FONT SIZE="-1" COLOR="#CC0000"><BR>
<BR>
Additional disclosures for the benefit of insomniacs may be enjoyed
in our <A HREF="/pages/insomniac.shtml">Insomniac's Delight
Page & Privacy Policy</A></FONT> </P></div>
</div>
<div id="mission"><FONT
COLOR="#000081"><B>Our Mission Statement</B></FONT>
<BLOCKQUOTE>
<P><FONT color="#D50000" SIZE="+2"><em>To restore Magical Guest experiences through recognizing outstanding Cast Members.</em></FONT></P>
</div>
<div id="awards"><table width="100%" border="0" cellpadding="0">
<tr>
<TD VALIGN="middle" ALIGN="CENTER"><a href="http://LaughingPlace.com"><img src="/Assets/graphics/Affiliations/LPLogoHighest.gif" width="96" height="82" border="1" alt="LaughingPlace.com"></a></TD>
<TD VALIGN="middle" ALIGN="CENTER"><img src="/Assets/graphics/Affiliations/seek-button01.gif" width="120" height="80"
border="0"></TD>
<TD WIDTH="1" VALIGN="middle" ALIGN="CENTER"><a href="http://disney.go.com/investors/index.html"><img src="/Assets/graphics/Affiliations/shareholder.gif" width="106" height="48"
border="1"></a></TD>
<TD VALIGN="middle" ALIGN="CENTER"> <img src="/Assets/graphics/Affiliations/safewave.gif" width="78" height="74"
border="1"></TD>
<TD VALIGN="middle" ALIGN="CENTER"><a href="http://wdwig.com/"><img src="/Assets/graphics/Affiliations/125x125allearsnet.gif" width="120" height="120" border="0"></a></TD>
</tr>
</table></div>
<div id="bigbottom"><P> <FONT SIZE="-1" COLOR="#CC0000">Copyright © 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005, 2004, 2003, 2002 Founder's
Legacy Inc. </FONT><BR>
<FONT SIZE="-1" COLOR="#CC0000">What Would Walt Do and WWWD are trademarks
of Founder's Legacy, Inc.</FONT></P>
<P><FONT COLOR="#000081" SIZE="-1">Founder's Legacy, Inc. is a member
of the Disney Store.com Affiliate Network. As such we are authorized
to display the Disney Store banner on any or all of our webpages.
Founder's Legacy is also listed with The Disneyland Resort Press &
Publicity Department, images used are with their permission.</FONT></P>
<P><FONT COLOR="#000081" SIZE="-1">Founder's Legacy, Inc. is not part
of The Walt Disney Company. The only other relationship between Founder's
Legacy, Inc. and The Walt Disney Company is various members of the
Founder's Legacy Inc.'s Board of Directors and/or their family are
shareholders in The Walt Disney Company.</FONT><FONT SIZE="-1" COLOR="#CC0000"><BR>
<BR>
Additional disclosures for the benefit of insomniacs may be enjoyed
in our <A HREF="/pages/insomniac.shtml">Insomniac's Delight
Page & Privacy Policy</A></FONT> </P></div>
</div>
<script type="text/javascript">
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
</script>
</body>
</html>
Stylesheet:
@charset "utf-8";
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
*/
img, object, embed, video {
max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
}
/*
Dreamweaver Fluid Grid Properties
----------------------------------
dw-num-cols-mobile: 5;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
*/
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 87.36%;
padding-left: 1.82%;
padding-right: 1.82%;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bannertop {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#ticker {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#blocker {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#leftcolumn {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#copy {
clear: none;
float: left;
margin-left: 4.1666%;
width: auto;
display: block;
}
#leftnav {
clear: none;
float: left;
margin-left: 4.1666%;
width: 100%;
display: block;
}
#social {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
text-align: center;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 35px;
}
#printer {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#banner {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#mission {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#awards {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bigbottom {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 90.675%;
padding-left: 1.1625%;
padding-right: 1.1625%;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bannertop {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#ticker {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#blocker {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#leftcolumn {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#copy {
clear: none;
float: left;
width: 55%;
display: block;
margin: 0%;
}
#leftnav {
clear: none;
float: left;
margin-left: 2.5641%;
width: 100%;
display: block;
}
#social {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#printer {
clear: both;
float: left;
margin-left: 0;
width: 35.8974%;
display: block;
}
#banner {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#mission {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#awards {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bigbottom {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
}
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 88.5%;
max-width: 1232px;
padding-left: 0.75%;
padding-right: 0.75%;
margin: auto;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bannertop {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#ticker {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#blocker {
clear: both;
float: left;
margin-left: 0;
width: 74.5762%;
display: block;
border-top-width: thick;
border-right-width: thick;
border-bottom-width: thick;
border-left-width: thick;
border-top-style: none;
border-right-style: ridge;
border-bottom-style: none;
border-left-style: none;
border-top-color: #C10B0F;
border-right-color: #C10B0F;
border-bottom-color: #C10B0F;
border-left-color: #C10B0F;
}
#leftcolumn {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#copy {
clear: none;
float: left;
margin-left: 1.6949%;
width: 100%;
display: block;
}
#leftnav {
clear: none;
float: left;
margin-left: 1.6949%;
width: 100%;
display: block;
}
#social {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#printer {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#banner {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#mission {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#awards {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#bigbottom {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
}
You have float and clear functions almost in every DIV on your leftcolumn and copy. You also have these tags applied to every element within these 2 divs which is redundant.
Set your width and float for parent containers, not for all elements, unless you want specific float override for these within parent elements.
Your body tag is formatted to float right in your boilerplate.css file. Boilerplate is only a standard HTML5 template which you wouldn't want to mess with unless you know what you're doing.
Do not use boilerplate and reset.css files to add custom styles. Create your custom styles in styles.css or custom.css and append that CSS to your HTML file.
Change the order of CSS loading in your HTML to load your custom CSS file as an override. This means, basic styling will be taken from boilerplate.css template. If you have the same tag in your custom css file, the browser will override styles from boilerplate and load your custom CSS file for those elements.
See example here: http://www.rainbodesign.com/pub/css/css-float.html
Perhaps this will help, on this page http://whatwouldwaltdo.com/pages/pins/newest.html the red and white stripes should extend down the lefthand column to make it even with the white-badkgrounded text box in the right column.
BTW, I made the suggested changes to the template from the suggestions in this string.
North America
Europe, Middle East and Africa
Asia Pacific