CODE ✦ WINDOWS.
A frontnav-style code inspired by a mix of vapourwave and general old Windows 78, Windows XP-era looks.
✓ COMMENT FRIENDLY
✓ CUSTOMISABLE
✗ NOT EMAIL-FRIENDLY / EMAIL-TESTED
By default the text area just has two lines of text for whatever you want, but you can really replace it with whatever you'd like within the "TEXT AREA" brackets. If you add a lot of links, they'll also automatically wrap over to the next line. The links aren't default styled, but if the colour doesn't work with your theme, you can add styling to each link. Areas to Ctrl+F and replace for best results are:
✦ **COLOUR_2** (x2)
✦ **BACKGROUND_IMG_URL**
✦ window name (both), taglines line 1 & 2.
✦ optional: default is set to max-width:800px; this value can be changed to your leisure.
✦ optional: default is set to font:600 16px/1.25 'MS Gothic', monospace; MS Gothic looks best for emulating the old pixelated text on Windows, but it isn't the most legible font. If you'd like to change out for a different one, replace the 'MS Gothic', monospace to whatever web-safe font you'd like. There are three instances of this code, but you only need to change the one at the very start.

HORIZONTAL (COMMENT EXAMPLE)
VERTICAL (COMMENT EXAMPLE)
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
i took a look at the problem, and it seems to be that on certain dreamwidth pages, the box-sizing property isn't always properly applied, so the padding is causing things to shift.
could you try adding in box-sizing:border-box; to the second div of both windows and see if that fixes the issue for you? it should be in this code block:
<div style="display:flex; flex-flow:column nowrap; gap:3px; width:100%; padding:3px; border:3px outset #fff;">
no subject
and that worked perfectly! all set!
no subject
no subject
It looks a bit better in the editor but when I view it in the actual entry it looks like the first image.
The entry itself is here. I've tried viewing it in two different versions of firefox and chrome.
The only change I've made is insert an image, I haven't made any other changes to the code. I only know very very little coding myself so I'm not really sure of what to do.
no subject
Inspecting your entry, it looks like the <raw-code> tag might be missing. Based off of your screenshot, it looks like you have it on Rich Text mode in the entry creator, which can jank up codes pretty badly due to its tendency to auto-format. You'll have to paste it as raw text in while under the HTML tab instead and use the preview button below to see what it'd look like.
Could you let me know what it looks like with this and if there are still issues?
no subject
no subject