• Haarukkateroitin@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        2
        ·
        1 year ago

        Laughs in frameset!

        Kids nowdays try hard to do with divs what was already possible with framesets.

        Also I feel bad every time I remember that <blink> was taken away from us!

        • smpl@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          What do you mean? I still write my sites in HTML 4.1 and frameset works fine in all the browsers I’ve tried. HTML 4.1 is still a standard, I can only recommend more people use it. HTML5 isn’t really a standard… it’s a “living document”… pff.

          You’re allowed to center things and use table without shame… or if you really do prefer it, you can still wrap that relative positioned div with auto margins in an absolute positioned parent div or whatever CSS bullshit makes stuff centered nowadays.

          One thing I always though was very backwards in CSS is the paradigme to make div into tables instead of the other way. Tables are an easy and simple way to layout things and if it could degrade into divs you’d have your responsive design making many related CSS standards unnecessary.

          Had to edit becase all those tags in code quotes fucked up and end tags was appended to the post… it’s a bug.

            • smpl@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 year ago

              In the context of the modern web, I take that as a badge of honor. I’ve build pages using flexbox/grid and I’ve done so only for the sake of responsive layout, because of the way that tables can’t degrade to a bunch of boxes, but a bunch of boxes can by styled to look like a table. It is a convoluted way of doing table layout instead of just using a table.

              • traches@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                1 year ago

                A table has semantic meaning: it’s for presenting tabulated data, not for building layouts. That’s why they behave the way they do and require the format they require. Table layouts have always been a hack, it’s just that for awhile there weren’t better options.

                Again, you are insane if you’re still doing table layouts in 2023.

            • smpl@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Oh no you wouldn’t…

              • knocks on door
              • It’s the Wild Web Sheriff!
              • What the… You’ll never catch me!
              • rumble
              • a vase breaks
              • silence
              • Okay, okay I was just kidding. Tables are bad. HTML5 is the future.
              • dot20@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 year ago

                “And so the Gods (also known as the W3C) spoke down to the Programmers and said: ‘You shall not use tables for non-tabular data.’ And so it was.”

      • Aloso@programming.dev
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        They still have their place; for example to embed Google Maps or a YouTube video. Generally, whenever you want to embed something from a different website you have no control over, that shouldn’t inherit your style sheets, and should be sandboxed to prevent cross site scripting attacks.

      • Aa!@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        1 year ago

        Seems to me they were mostly used to put content inside a scrollable element. Their place has mostly been taken by overflow:auto hasn’t it? I think this is the better way.

      • SixTrickyBiscuits@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I believe Kingdom of Loathing used iframes extensively to achieve what looked like a “dynamic” page long before that was a thing.