The display:inline-block declaration is not supported by fully supported IE7 and lower, so you should use display:inline instead in combination with zoom:1 hasLayout hack to mimic the ad by breaking the star in IE7. To align the text box and the label, we can use the vertical-align:middle property, for example:
CSS
input.textBox { margin-top: 5px; margin-bottom: 5px; height: 30px; width: 350px; font-size: 15px; font-family: Verdana; line-height: 30px; display:inline-block; *display: inline; zoom:1; vertical-align:middle; } label.inputLabel { font-family: Verdana; font-size: 15px; line-height: 30px; display:inline-block; *display: inline; zoom:1; }
Demo
source share