- the background .png and the image are (were) both 169px high, but all browsers I used (listed below) rendered the img much larger.
- Though I’ve specified height on my “#rotator” and “#banner” (top section floated right), I find that I have to set the margins below this top section as margin-top: -92px.
As the title says, this works – on the latest Firefox, Explorer, Safari, Opera and Chrome.
Here’s the HTML snippet
<div id="banner">
<img src="images/banner.png" alt="Brian L Case is The Private Computer Tutor" height="100px" width="365px" />
</div> <!-- end div banner -->
<div id="rotator">
<img src="images/stress5.jpg" id="animimage" alt="stressed lady" height="169px" width="125px" />
</div> <!-- end div rotator -->
<div class="clearit"></div>
<div id="ribbon">
<ul>
<li><a href="instruction.html" name="instruction" title="software and hardware instruction">instruction</a></li>
<li><a href="internet.html" name="internet" title="setup and use of internet">internet</a></li>
<li><a href="convenience.html" name="convenience" title="convenience of personal tutor">convenience</a></li>
<li><a href="remotehelp.html" name="help" title="remote help via email or sign in to your computer">help</a></li>
<li><a href="rates.html" name="rates" title="rates">rates</a></li>
<li><a href="contactus.html" name="contactus" title="contactus">contact</a></li>
<li id="current"><a href="#" name="home" title="Private Computer Tutor home page">home</a></li>
</ul>
</div> <!-- end div ribbon -->
<div id="content">
<h3>in the Chicagoland Area</h3>
<p>Nothing is more exasperating than installation instructions that don't make sense.</p>
<p>Do your often wonder if there might be a better way to use your Excel and Word and other applications?</p>
<p>The local office guru and the whiz kid down the street are treasures, but you don't want to become a nuisance. Sure, you can take classes, but they can be expensive, inconvenient and may waste your time teaching you much of what you already know.</p>
<p>Wouldn't it be nice if you could have someone come to your location when you wanted and take as much time as you need to show you how to make the most of your computer applications? </p>
<p>Patient, thorough, friendly, knowledgeable and at your pace in your home or office, the <span class="pcc">Private Computer Tutor</span> is here to help.</p>
</div> <!-- end div content -->
<div id="leftcol">
<a href="appointment.php" name="appointment" title="make an appointment">
Make An<br />
<img src ="images/scheduleappt.gif" alt="scehdule appointment" />
<br />Appointment
</a>
</div> <!-- end div leftcol -->
And here’s all but the ribbon css (that has no effect other than it, too, must be adjusted – the symptoms remain the same when I remove it)
<!--
body {
margin: 0px;
padding: 0px;
width: 100%;
background: #ffd9b3;
}
h1, h2, h3 {text-align:center;}
#wrapper {
width:800px;
margin:0px auto;
border:3px solid #ca6500;
background-image:url('images/toppad.png');
background-repeat:repeat-x;
background-size: 10px 200px;
}
#rotator {
float: right;
width: 125px;
height: 169px;
border-top: 62px solid #ca6500;
margin-bottom: 0px;
}
#banner {
float: right;
width: 490px;
margin-top: 75px;
height: 169px;
margin-left: 75px;
margin-bottom: 0px;
}
.clearit{clear:both;}
#leftcol {
padding: 0px;
margin-top: -92px;
padding-top: 25px;
float: right;
width: 110px;
text-align: center;
font-weight: bold;
border-top: 3px solid #ca6500;
}
#leftcol img {
border: none;
}
#leftcol a{color: #ca6500;}
#content {
float: right;
padding :0px 15px;
margin-top: -92px;
width: 535px;
border-left: 125px solid #ca6500;
background-color: #ffffff;
color: #000000;
}
#rightcontent {
float: right;
width: 275px;
padding-right: 15px;
}
#leftcontent {
float:right;
width: 230px;
padding-left: 15px;
}
#footer {
padding:2px 2px 2px 90px;;
background: #ca6500;
color: #ffd9b3;
}
#footer a {
color: white;
font-weight: bold;
}
-->
[Note the top-margin on “rotator” is to provide a vertical brown column on the top which would intersect the wrapper background.png except that I positioned the “rotator” image at that intersection. Same thinking for the left-margin of the content to simulate continue the column down the page --knowing that the content will always be the longest column – yes, I tried everything else I could find on the 'Net and couldn’t make it work]
It works, but it scares me that I don’t understand why.
Regards,
grNadpa