SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
VeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago

The Centerer

lemmy.world

message-square
25
fedilink
463

The Centerer

lemmy.world

VeganPizza69 Ⓥ@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
25
fedilink

Art by gfcf14

https://www.facebook.com/webdevtoons

https://twitter.com/webdevtoons

https://www.instagram.com/webdevtoons/

https://www.reddit.com/user/gfcf14/

  • Bye@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    deleted by creator

    • BlackEco@lemmy.blackeco.com
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      2 years ago

      Why doesn’t html just have hcenter and vcenter tags or something?

      HTML is a markup language, its purpose is to structure documents, while CSS can be seen as an additional layer that allows you to style and alter the layout of HTML documents. Because of this philosophy, it wouldn’t make any sense to have such tags.

    • I Cast Fist@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      2 years ago

      It actually has <center> for centering things horizontally. Yes, it’s literally <center> content </center>. It’s been around since the early 90s, too. Dunno about a vertical center</center>

      • Thorned_Rose@kbin.social
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Center tag is deprecated in HTML5

      • BlackEco@lemmy.blackeco.com
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        center is mostly for centering text and is being deprecated in favor of text-align and margin-*: auto https://developer.mozilla.org/en-US/docs/Web/HTML/Element/center

    • kameecoding@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      well with the css grid and flexbox it’s no longer a problem.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 21 users / day
  • 350 users / week
  • 2.46K users / month
  • 10.1K users / 6 months
  • 437 local subscribers
  • 35.8K subscribers
  • 1.73K Posts
  • 38.3K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org