Index talk:Footsteps of Dr. Johnson.djvu

From Wikisource
Jump to navigation Jump to search

default layout 2[edit]

Is there a way to center the plates? The "cascade" part of css seems to be broken.--21:41, 2 December 2021 (UTC)

@RaboKarbakian: You need to indicate exactly which plates you are talking about, with at least one link. Inductiveloadtalk/contribs 22:08, 2 December 2021 (UTC)[reply]
Assuming you're talking about the 600px image in Chapter 1, that may now be fixed, but maybe it'll break everything else in exciting ways too. Inductiveloadtalk/contribs 22:47, 2 December 2021 (UTC)[reply]
Actually, I was talking about the Plate in Chapter 6 which is untouched/undamaged by your changes. Heh, whatever you did to Chapter 1, the image is now squeezed into the margins! It is kind of cool, in that I did not know you (or anyone) could do that, but on the otherhand, there is this thing called "aspect ratio" which is not good at that plate right now. I have seen large monitors for tv and movies set like this, btw, much much more painful to view than this with the square street lights, etc.
If it is a problem, I can scale the plates down. They were larger than the width of the text within the text, so I always (try) to make them bigger. But, it is not necessary by any sense of that words meaning. --still chuckling RaboKarbakian (talk) 00:58, 3 December 2021 (UTC)[reply]
@RaboKarbakian well I'm glad you can be amused by that. It's fixed now. I don't see any plates extant in Footsteps of Dr. Johnson (Scotland)/Chapter 6, so I think you still need to crack out the [[square brackets]] and actually provide a link to where you're talking about, as my telepathy doesn't start working until the 5th day of Christmas (it's fuelled by ground-up calling birds and focussed by gold rings). Inductiveloadtalk/contribs 08:41, 3 December 2021 (UTC)[reply]
Off by one! Footsteps of Dr. Johnson (Scotland)/Chapter 5#Plate The aspect ratio looks better in that first one, but it is to early in my day to say for certain it is right. Who took the cascade out of the CSS? Isn't it supposed to be that the last style direction given be followed? Is it just SS here?--RaboKarbakian (talk) 13:26, 3 December 2021 (UTC)[reply]
@RaboKarbakian The cascading in CSS refers to the "cascading" of rules according to their specificity and priority, not something so simple-minded as just which rule comes later (that would be called Sequential Style Sheets or something and would be almost completely useless). Which rule comes later only applies when two rules have identical specificities. Notably in this case, styles applies "inline" as direct attributes on the HTML element have the highest possible priority.
Using a wrapper div with a hard-coded width in px like this is pretty much perfectly wrong and is almost guaranteed to cause the exact issue you see here: since the CSS is applied "inline", it countermands nearly all other CSS in the cascade and cannot be overridden (unless you use !important, which you should not). You should use any of the existing image templates, like {{FI}} or {{img float}}, which have made at least some effort to avoid this exact problem. Inductiveloadtalk/contribs 14:11, 3 December 2021 (UTC)[reply]
By your definition of the word cascade, a waterfall is a sequential and not a cascade. I will use the templates, but point again at the word Cascade....--RaboKarbakian (talk) 14:35, 3 December 2021 (UTC)[reply]
An additional aside, and on a personal note: I was thinking this week about complicated justification systems but that was not about web page design.--RaboKarbakian (talk) 14:43, 3 December 2021 (UTC)[reply]
Well, fortunately for the functioning of most of the Internet, what you (or I) think the word means does not actually affect how CSS is specified to work. As usual, a computer did exactly what it was told to and GIGO remains the watchword.
I don't know specifically what you mean by complicated justification systems, but if you want to know about it as implemented at WS, the keywords are "CSS box model" and "CSS Box Alignment Module Level 3". If it not related to WS, then I can't really help you. Inductiveloadtalk/contribs 15:01, 3 December 2021 (UTC)[reply]

Clearer Scan[edit]

For images you may find a clearer scan here: IA 15:16, 12 February 2022 (UTC)