There are two sets of images which I want to be aligned side-by-side. The first set is in the "Getting There" section and the second set in in the "Red Tape" section.
After completing the original edits, the pictures were oriented side by side simply using the "New" WYSIWYG editor with no special effort or HTML coding on my part. Sometime in the last week, the default desktop layout changed such that the images are now displaying stacked underneath each other instead of side-by-side. Perhaps this was due to a change in the backend Editor code ... I didn't make any edits (that I recognize) which would have messed up the page layout
Possible clue?
This change / error appears to have coincided with the addition of the contenteditable="false" attribute recently (?) added to the <figcaption> tag (or at least I never noticed it before).
Previous original layout using the "New" WYSIWYG editor (desired layout)
[Image contained within a captioned figure] [Image contained within a captioned figure]
Current layout unrelated to any WYSIWYG or HTML edits on my part (not my grand vision for the new page)
[Image contained within a captioned figure]
[Image contained within a captioned figure]
Troubleshooting Attempts
- I've tried to restore the intended layout using every iteration of the WYSISYG "New Editor," "Old Editor," and the "Ancient Editor" I can think of.
- I'm familiar with raw HTML. I've tried every iteration of "float: left" and "align: left" on both the <figures> and the <imgs> contained therein. None of my attempts were successful.
- The images have a width of 600px which fit perfectly side-by-side at 1920x1080 while allowing for the margin / whitespace of the left-hand navigation sidebar. I edited the display CSS to a super tiny 400px width which was most definitely small enough to left floated both images side-by-side; however, this didn't work either. There was tons of white space and the images were still stacking one on top of the other instead of displaying inline.
- I had some minor success using "float: left" on the left image in conjunction with "float: right" on the right image; however, this resulted in a gigantic gap between the two images on the desktop layout (I didn't even bother to review the mobile layout since it wasn't even close to the desired output).
- I'm aware I could put the images in a table; however, that is poor code and not semantically correct. I would prefer to avoid ancient hacks from the '90s.
Questions to be answered
A. Were there recent changes on the guts of the editor which would have modified my original layout that was working correctly.
B. Does anyone have a hint on the correct method for displaying inline images on this site engine; either using the WYSIWYG editor or raw HTML?
C. Have I overlooked a trivial quotation mark, opening, or closing bracket?
Questions to be answered
Here's the raw CSS as currently online (line breaks have been added for clarity and legibility). Currently, I've stripped out all of the floats and aligns for both the figure and the image since none of it was having any effect.
- Code: Select all
<figure>
<a href="https://www.facebook.com/adventureharder/photos/a.755541304817545/763366857368323/?type=3&theater" target="_blank" rel="noopener">
<img title="Correct Route via Google Maps from Bowman, ND to the White Butte Trailhead" src="https://scontent-ort2-2.xx.fbcdn.net/v/t1.0-9/49938743_763366860701656_4895721358287175680_n.png?_nc_cat=106&_nc_ht=scontent-ort2-2.xx&oh=7bdce9e5f526ed2595af0df463d48494&oe=5CB2F42E" alt="Correct Route via Google Maps from Bowman, ND to the White Butte Trailhead" width="600" height="600" />
</a>
<figcaption contenteditable="false">
Correct Route via Google Maps from Bowman, ND to the White Butte Trailhead
</figcaption>
</figure>
<figure>
<a href="https://www.facebook.com/adventureharder/photos/a.755541304817545/763356097369399/?type=3&theater" target="_blank" rel="noopener">
<img title="Incorrect route via Google Maps from Bowman, ND to White Butte, Chalky Butte, ND" src="https://scontent-ort2-1.xx.fbcdn.net/v/t1.0-9/49329077_763356100702732_690953400614912000_n.png?_nc_cat=109&_nc_ht=scontent-ort2-1.xx&oh=cd35d329e45485ae5ff90dcd1df7b1c7&oe=5CC035CE" alt="Incorrect route via Google Maps from Bowman, ND to White Butte, Chalky Butte, ND" width="600" height="600" />
</a>
<figcaption contenteditable="false">
Incorrect route via Google Maps from Bowman, ND to White Butte, Chalky Butte, ND
</figcaption>
</figure>