We would like to know how to align image caption left aligned under centered image.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
figure {<!-- w w w .j a v a 2 s . com-->
display: table;
border: 1px solid black;
margin: auto;
}
</style>
</head>
<body>
<figure>
<img src=http://www.java2s.com/style/download.png>
<figcaption>Logo</figcaption>
</figure>
</body>
</html>
The code above is rendered as follows: