From 273f07968c88a6976362bb055bde64f2ea03f395 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 29 Jul 2023 17:10:04 +0300 Subject: [PATCH] Add center to IMG tag inside FIGURE --- css/main2.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/css/main2.css b/css/main2.css index 12f5da6c9..8997c5e84 100644 --- a/css/main2.css +++ b/css/main2.css @@ -114,6 +114,12 @@ h2#tophead { } /*IMAGES*/ +img.center, div.center, figure.center + { display: block; + vertical-align: top; + margin-left: auto; + margin-right:auto; + margin-bottom: 10pt} img.onright, div.onright, figure.onright { vertical-align: top; float: right; margin-left: 10pt; margin-bottom: 10pt; margin-right: 8pt; } @@ -126,8 +132,11 @@ table.imgtable { margin-left: auto; margin-right: auto; } table.imgtable td { vertical-align: middle; text-align: center; padding: 10px; } -figure {font-weight: bold; font-size: small; - font-family: sans-serif; font-variant-caps: small-caps;} +figure {font-weight: bold; + font-size: small; + font-family: sans-serif; + font-variant-caps: small-caps; + } figcaption {text-align: center} /*Menu*/ .menu,