Title: Message
I have a DIV as following
#column2-header
 {
  background-color: #646464;
  color: #fff;
  position: relative;
  text-align: center;
  vertical-align: middle;
  top: 40px;
  height: 50px;
  background-image: url(/_resource/image/concept03/layout-4-concept-3_07.jpg);
  background-repeat: repeat-y;
  background-position: left;
 }
In it is a h2 tag, I need to be horizontally centered, which it is, but it does not vertically center, can anyone see why?
 #column2-header h2
 {
  display: block;
  font-size: 0.8em;
  margin: 0;
  font-family: Arial Narrow, Helvetica, sans-serif;
 }
Thanks,
 

Taco Fleur - CEO
Pacific Fox http://www.pacificfox.com.au
an industry leader with commercial IT experience since 1994 …

** Web Design and Development

** SMS Solutions, including developer API

** Domain Registration, .com for as low as AUSD$15 a year

** Seamless Merchant integration

** We endorse PayPal, accept payments online now!

 

Reply via email to