View Single Post
Old 02-26-2017, 11:12 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,557
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
No, and that alt attribute is garbage. The content of the alt attribute is supposed to be some text to display (or read aloud) when whe image cannot be displayed. A safe and often the best option is to just leave it empty, so:

Code:
<div class="figure">
<img src="../Images/image002.jpg" alt=""/>
<p class="figcaption">Menashe people with Rabbi Avichail (right)</p>
</div>
and style div.figure and p.figcaption as you wish with CSS, for example:

Code:
div.figure {
  text-align: center;
  margin: 1em 0;
}
p.figcaption {
  text-indent: 0;
  font-size: 80%;
  margin-top: 0.5em;
}
Jellby is offline   Reply With Quote