View Single Post
Old 06-02-2023, 11:01 AM   #58
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by JSWolf View Post
This code doesn't do anything. It's the same as a blank <div>.

Try this and tell me if it works for you.

CSS
Code:
body {
  widows: 1;
  orphans: 1;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  text-align: justify;
}
img {
  max-height: 100%;
  max-width: 100%;
}
figure.cover {
  text-align: center;
  text-indent: 0;
  height: 100%;
}
HTML
Code:
<figure class="cover">
<img alt="" class="cover" src="cover image here"/>
</figure>
Jon:

With all due respect, sure, we use ADE 2.01 to check the odd thing here and there, but AFAIK, nobody is still using that to read. I mean...come on. Even those of us in the Curmudgeon Class have to move on at SOME point.

Hitch
Hitch is offline   Reply With Quote