|
|
|
|
|
by undefined0
4077 days ago
|
|
An image can be vertically aligned with vertical-align: middle; and centered with text-align: center; Firefox uses pcwaltons method for images (resource://gre/res/TopLevelImageDocument.css). Do you want the image to be in the center/vertical of the div (with the div having a specified height)? If so, then pcwaltons method should work, as long as you have position:relative; on the div. |
|