i've added a vertical-align:middle on a div's CSS, only the image inside the div is still aligned top.
why is this...
CSS...
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
why is this...
Code:
<div id="titlecell" style="width: 620px;" align="center">
<img src="/images/hlp-ppp.jpg" alt="HLP Insurance Providers" />
<br />Please select a provider you wish to use.
<h1 onmouseover="window.status='Please choose a menu option'"> HLP Pure Protection Partners</h1>
<div class="boxl" style="height:65px;"><img src="/images/comm.gif" border="0" title="Logon to Commitments" alt="" /></div>
<div class="boxr" style="height:65px;"><img src="/images/lifequote.gif" border="0" width="195" height="60" title="LifeQuote Online" alt="" /></div>
<div class="boxl" style="height:65px;"><img src="/images/sp.gif" border="0" title="Select & Protect Information" alt="" /></div>
<div class="boxr" style="height:65px;"><img src="/images/payshield.jpg" border="0" title="Payment Shield Information" alt="" /></div>
</div>
CSS...
Code:
#titlecell
{
font-family: Arial, Verdana;
font-size: 12pt;
color: #000000;
background-image: url('/images/tablebar.jpg');
background-repeat: no-repeat;
text-decoration: none;
padding-bottom: 25px;
background-position: bottom;
}
#titlecell h1
{
font-family: Arial, Verdana;
font-size: 15pt;
color: #ffffff;
background-image: url('/images/tablebar.jpg');
vertical-align: middle;
background-repeat: no-repeat;
text-decoration: none;
font-weight:normal;
text-align:left;
}
#titlecell div
{
margin: 2px;
padding: 5px;
width: 292px;
border-width: 1px;
border-style: solid;
border-color: #233e97;
text-align: center;
vertical-align: middle;
color:#000000;
}
div.boxl {
float:left;
vertical-align: middle;
}
div.boxr {
float:right;
vertical-align: middle;
}
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.