RE: [WSG] Text will not valign

2005-10-08 Thread Nick Cowie
As you have sizes set for the containers it is easy to centre the text vertically: to #column2-header h2 add line-height: 50px; to #column2-footer h2 add line-height: 30px; my previous comments where about horiziontally aligning the text (late friday afternoon brain fade) Nick This email is

RE: [WSG] Text will not valign

2005-10-07 Thread Nick Cowie
#column2-header h2 { display: block; is the culprit, a block will always fill available space and align left. either 1. replace display: block; with display: inline; 2. Add a width to #column2-header h2 that is smaller than #column2-header and change margin: 0; to margin: 0 auto;

RE: [WSG] Text will not valign

2005-10-07 Thread Taco Fleur - Pacific Fox
Sent: Friday, 7 October 2005 5:36 PM To: wsg@webstandardsgroup.org Subject: RE: [WSG] Text will not valign #column2-header h2 { display: block; is the culprit, a block will always fill available space and align left. either 1. replace display: block; with display: inline