Hello all,
I have a problem with this 2-column layout that I want to use on a landing page. The right column content floods in on the left when I shrink the browser window. It should be a pretty basic issue, but I’m befuddled:goof: at the moment. The markup structure is pretty much the same as the landing pages we’ve discussed in the recent past.
<!-- columns and article content below this line -->
<div id="leftcol">
<img src="onlineguitarlessons1.jpg" title="Play Me, Please" alt="The acoustic guitar sits in with the boxed wood." width="300" height="270" />
</div>
<div id="rightcol"><!-- begin right column -->
<div class="listwrapper">
<p class="hazard">Warning: Do not hire a private instructor until you check out the alternatives online.</p>
<p class="articletext">So, you haven't quite figured out how to learn to play guitar. You need a solution that can help with the following:</p>
<ul>
<li><span class="bold">Optimized practice sessions</span></li>
<li><span class="bold">Special exercises</span></li>
<li><span class="bold">Technique drilling</span></li>
<li><span class="bold">Extra tools</span></li>
<li><span class="bold">How to read tablatures & music</span></li>
</ul>
</div>
<div class="box">
<h2>GuitarTricks</h2>
<img src="guitartrickslogo2.jpg" title="GuitarTricks" alt="On-line guitar lessons with GuitarTricks." width="110" height="110" />
<p>This online guitar learning system was started in 1998. Not only are there hundreds of song tutorials and technique videos from at least 30 professional instructors, but there are a bunch of extra tools available that help get the most out of every time you sit down to jam... <a class="readmore" href="guitartricksreview1.html">Read More</p><br />
<a class="visitlink" href="#">Visit GuitarTricks</a>
</div>
<div class="box">
<h2>Jamorama</h2>
<img src="jamlogo2.jpg" title="Jamorama" alt="Mark McKenzie is the founder of Jamorama." width="100" height="117" />
<p>Mark McKenzie founded Jamorama in 2003, and since then, over 250,000 have become students from all different parts of the world. Along with the team of instructors, you will have the tools needed to learn how to rock... <a class="readmore" href="jamoramareview1.html">Read More</a></p><br />
<a class="visitlink" href="#">Visit Jamorama</a>
</div>
</div><!-- end right column -->
<!-- end column layout -->
the styles:
/* lines 113-116, lp2column.css */
#leftcol{float:left; width:50%;}
#rightcol{overflow:hidden; border:3px thick #C66; width:50%; float:right;}
#leftcol img, #rightcol img{border:3px inset #000;}
/* lines 201-207 */
.box{margin:10px 0 0 0; border:2px groove #757575; padding:14px 0 6px 6px;}
.box img{float:right; border:none;}
.box p{text-align:left; clear:left;}
.box a{color:#393;}
.box a:hover{color:#3C0; text-decoration:none;}
a.readmore{font-size:.8em;}
a.visitlink{margin-left:2em;}
To success,
Tyler