2
Spent an afternoon in a 1998 Geocities site and it fixed my layout issues
Was rebuilding a page and kept fighting with table widths, then I checked some random Angelfire site that had the exact same problem solved with a hidden 1px spacer gif. Who knew a 25 year old trick still works? Anyone else dig through old sites for CSS hacks instead of modern tutorials?
1 comments
Log in to join the discussion
Log In1 Comment
faith_schmidt14d ago
Check the wayback machine for any site built in the late 90s. They had to work around broken browsers all the time. Spacer gifs and single pixel images fix so many float and width issues that modern tutorials just skip over. I keep a folder of old tricks saved on my hard drive. Shrink the spacer to 1px and set the height to whatever you need. Works for gaps in flexbox too sometimes, just don't tell anyone. Best part is it never breaks with updates. Old code is stubborn like that.
1