I just tried the page and thumbnails I uploaded on my notebook, which apparently runs Windows10 Home - who knew? - and looked at things in Edge and IE, and things were fine.
Something is fubared on your computer.
And to that link regarding PX vs EMs…
I obviously like REMs, but computer manufacturers don’t sell things by EM sized monitors as duly noted in your comments about your “1366 X 768” computer.
So is there some chart that translates monitor resolution and pixels into EMs?
When it comes to things like paragraphs, EMs make sense. But when trying to size a box, PXs are more intuitive to me.
I’ll gladly switch to an all EM mentality, but I need help in visualizing things in EMs.
So what is the supposed issue, because I cannot create it in macOS or Windows10 or on Firefox, Chrome, Brave, IE or Edge on laptop, desktop, or mobile…
Is it fair to assume that testing my code on a Retina MacBook Pro is sufficient? That is, I assume the resolution on my laptop competes size wise with most standard desktops, unless a person has a really big, hi-def monitor.
Can you please post the HTML elements that you feel are extraneous in a [ code ] box below?
Or maybe post my latest code in [ code ] tags and simply add a comment to make it easier for me to see where my code could be improved.
(The reason Microsoft created “Track Changes” in MS Word is that people need to see issues in the context of the original document, not a perfect rewrite where they can’t see where the issues were at, yeah know?!)
Also, not sure about your last comment. While my code uses pixels, I tested it pretty heavily and it looks great for a mockup.
Not sure where you feel it fails, but if you look above, @Coothead admitted there was an issue on his computer and not with my latest code…
It is not necessary to set checkoutItem dimensions because the script expands to fit inside pageBody and has the margin-bottom set to create a gap in the displayed checkoutItems/books. Also I set the default font-size to cascade.
itemAuthor, itemPublishedOn and itemUnitPrice are all spans that are redefined into blocks?
itemDescription is not required in my layout. I use a single plain div which follows the natural flow of the script and also wraps to make it responsive.
itemTitle is already a block which is over ridden into to a block?
using @media when it is not required
using flex and it fails to make the page responive
setting seven different font-sizes whereas I used two. The meta viewport should handle the font-sizes gracefully and not be over ridden
Take another look at post #30 where I described how I created the items in the block one at a time, starting at the top and working down. Hiding items which require modifying and applying background colours to highlight where the block starts and finishes. also making use of the native size and whether is is a block or a string.
I took my standard page template which relates to my actual site and added in checkoutItems as a container for this particular mockup.
So in that sense what I did made sense.
itemAuthor and itemPublishedOn are inline-blocks because I need them to sit side-by-side on the same line. Maybe I could have left them as inline items?
itemUnitPrice is a block item so it takes up an entire line. It is a span because it is not a paragraph.
Semantically I see the description as a paragraph. Using divs for everything defeats the purpose of the semantic values of HTML.
I chose that way because I didn’t want to style an H2 that might be used elsewhere with different styles.
Why?
I needed to set breakpoints for when the side-by-side layout changes to top-bottom.
As I said several times above, this web page IS responsive! If it isn’t on your computer, then something seems amiss on your end.
I chose different font-sizes to get the look that I wanted.
Not sure what you are suggesting here.
Why don’t you use Firefox’s (or Chrome’s Developer Tools to check those things?