Forum Moderators: open
<div align="center">
Has the align= not been deprecated? Or is it still ok within an div tag?
The CSS attribute for vertical alignment is:
[blue]
vertical-align: [baseline ¦ sub ¦ super ¦ top ¦ text-top ¦ middle ¦ bottom ¦ text-bottom ¦ <percentage> ¦ <length> ¦ inherit]
[/blue] And for horizontal aligment you can use either
[blue]text-align: [left ¦ center ¦ right ¦ justify ¦ <string> ¦ inherit][/blue] or [blue]float: [left ¦ right ¦ none ¦ inherit][/blue]. In this case vertical-align: middle; text-align: center should do the trick...
[edited by: BlobFisk at 4:49 pm (utc) on July 11, 2002]