View Single Post
Old 04-04-2015, 07:58 AM   #18
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,559
Karma: 19620479
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Try adding this CSS:

Code:
.stroke img {
  width: 5em; /*or whatever is appropriate */
}
Or, if you have several images with different sizes:

Code:
<p class="stroke">
    <img src="Stroke1.gif" alt="Afbeelding" id="img1"/>
</p>

<p class="stroke">
    <img src="Stroke2.gif" alt="Afbeelding" id="img2"/>
</p>
Code:
img#img1 {
  width: 3em;
}
img#img2 {
  width: 5em;
}
PS. Do you actually want "Afbeelding" to show up when the image cannot be displayed? Think of text-to-speech, for instance.
Jellby is offline   Reply With Quote