After gathering information from various sources, I was able to solve the issue at hand. While Alex Coles' solution was a good starting point, there were still some adjustments to be made, especially in the center alignment. The code snippet I initially utilized can be found in this forum post:
<style type="text/css">
.leftit {
float: left;
}
.rightit {
float: right;
}
.centerit {
width: 30%;
margin-right: auto;
margin-left: auto;
text-align: center;
}
.centerpage {
width: 80%;
margin-right: auto;
margin-left: auto;
}
</style>
</head>
<body>
<div class="centerpage">
<div class="leftit">Hello Left</div>
<div class="rightit">Hello Right</div>
<div class="centerit">Hello Middle</div>
</div>
(View fiddle for above code)
By incorporating the improvements suggested by Alex, I came closer to achieving my objective. However, the width of the center color blocks remained an issue. Referencing this question, I discovered the concept of "max-width," which proved to be the missing piece in the puzzle...or so I thought.
Update: Unfortunately, "max-width" does not work in IE7 quirks mode, which is essential for my project. To address this compatibility issue, I followed the instructions outlined in this webpage to fine-tune my CSS for IE7 quirks mode, IE8, and Firefox.
The finalized code can be viewed in this fiddle link:
.leftit {
float: left;
font-size: 0.8em;
}
.rightit {
float: right;
font-size: 0.8em;
}
.centerit {
width:220px;
margin-right: auto;
margin-left: auto;
font-size: 0.8em;
}
#headmiddle div {
border: 1px solid #000;
margin-bottom: 3px;
}
.centerpage {
margin-right: auto;
margin-left: auto;
text-align: center;
}
strong { font-weight: bold; }
.search { background: orange; }
.active { background: #8ed200; }
dt { float: left; font-weight: bold; }
dd { margin-left: 4.5em; }
<div class="centerpage">
<div class="leftit">a little search form here</div>
<div class="rightit">
<dl>
<dt>Legend:</dt>
<dd>Status numero uno</dd>
<dd>Status two</dd>
</dl>
</div>
<div class="centerit" id="headmiddle">
<div class="active"><strong>Status:</strong>
Active</div>
<div class="search">Search results displayed</div>
</div>
</div>
I appreciate all the valuable insights shared through the answers provided. This experience has been a great learning opportunity for me.
Sincerely,
Paul