// It was a major pain to get greenBarTop working on all browsers. I wanted to use vertical-align: middle and set a bottom margin // to push the text to the center of the orange even if the text is only one line, but every browser treated the middle align // differently and Dreamweaver ignored it completely. I used a div inside the table to get margins around the text without // disturbing the width of the cell. If you add margin or padding to the cell, it adds it to the width/height values. // Presumably I could subtract the margins from the width/height and maybe that would help my vertical align problem, but this // method works in Opera9/IE7/Firefox3 so I'm going with it. ?>
|
||||||||||||||||