Entrance Chat Gallery Guilds Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
March 12, 2026 - @390.87 (what is this?)
Activity rating: Four Stars Posts & Arts: 82/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :4u: ~~~~~~~~~~~  :4u: Guild Events: There are no events!

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Are you a floater or a flexer?


« previous next »
Pages: [1] 2 Print
Poll
Question: How do you arrange items?
I mostly float!   -6 (37.5%)
I mostly flex!   -5 (31.3%)
I do 50/50!   -3 (18.8%)
I do not align items >:D   -2 (12.5%)
Total Members Voted: 16

Author Topic: Are you a floater or a flexer?  (Read 226 times)
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Flinstone Vitaminold-timey tunes~♪Always working hard!PoochKnown Apple shillcoolest melon on the web!
« on: March 08, 2026 @695.50 »

Back in the yonder days of websites, when you wanted to align items side by side instead of vertically (or center them), you would use CSS floats  :wizard:

Code
/* Center a div with float: */
div {
  float: left;
  max-width: 600px;
  margin: auto;
}

These days the hip kids seem to all be about CSS flexes  :ha:

Code
/* Center a div with flex: */
div {
  display: flex;
  justify-content: center;
}

I'm curious whats most common today, are you a floater or a flexer:eyes:

(also as a disclaimer, in the yonder yonder days people would use tables, but we don't talk about that)
« Last Edit: March 08, 2026 @697.91 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Air MailPhoenix DownWorm CreatureRoachLasagna
mortaki
Newbie ⚓︎
*
View Profile WWW


Mortaki is the name; whismy is my game.
⛺︎ My Room
RSS: RSS

Guild Memberships:
Artifacts:
Green SpiffoJoined 2026!Stitches Spiffo
« Reply #1 on: March 08, 2026 @743.38 »

today I learned you can center a div with float  :drat:

I've never used flex either, so here's where I confess that none of my divs are actually centered. I just fiddle with the margins until they look centered.

I also don't use grid unless I'm modifying a template that uses it. nor position:absolute... so how am I positioning things???

hell if I know, I just do a thing until it works leave me alone  :tongue:
Logged

You come into MY house, sit on MY couch, and tell me how to write MY book? I think the hell not. :tnt:

Artifact Swap: Grey Spiffo
larvapuppy
Sr. Member ⚓︎
****
View Profile WWWArt


World's Worst Baby Seal
⛺︎ My Room
iMood: larvapuppy
RSS: RSS

Artifacts:
Wave MailDelicious CheesesealCubesealA snowman for your woesSpheal, I Choose You!
« Reply #2 on: March 08, 2026 @780.87 »

I used float before I understood how to use flex, but now that I've practiced flex a good amount I prefer it. I think since I want my site to be somewhat usable on mobile, flex suits it a lot better, and I actually find flex a lot easier to control/predict the outcome of than float.

I saw someone link this on here before (and that's how I learned) but just for convenience here is a game that helps you learn flexbox: https://flexboxfroggy.com/
Logged


Artifact Swap: Furry Pride
IndigoGolem
Full Member ⚓︎
***
View Profile WWW


⛺︎ My Room

Artifacts:
Joined 2025!
« Reply #3 on: March 08, 2026 @848.56 »

Neither, i learned HTML studying ancient texts that are old enough to recommend tables for page layouts. But my site is mostly just text, so it matters little.
Logged

ValyceNegative
Full Member ⚓︎
***
View Profile WWW


Your Average Toony Wolf!
⛺︎ My Room

Guild Memberships:
Artifacts:
Violet Ribbon of WelcomeJoined 2024!
« Reply #4 on: March 08, 2026 @939.75 »

I am a... table-er *gets pulled off stage*
In places where I need to do elaborate builds that are also screen responsive, I tend to use a bit of everything depending on context: I find myself using flex more but I don't see it as the true single solution for every layout ever. I've also tried out grids and they do have advantages, for example. I think a coder should get handy with all the options in case there's a need for one specific layout instead of the other (and overall it doesn't hurt having general knowledge of your coding language of choice).

But yeah no joke, if I want to whip out somethibg really quick really simple that doesn't have to follow responsiveness... I do the worst thing a webmaster could do and just use tables. XD t-they were acceptable in 2005, I swear! XD
Logged




moeghost
Casual Poster ⚓︎
*
View Profile WWWArt


be frog-loose and froggy free!!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: fluttershank
iMood: moeghost
RSS: RSS

Guild Memberships:
Artifacts:
Welcome To The Forum !Joined 2025!
« Reply #5 on: March 08, 2026 @946.48 »

floater one hundred percent, i sometimes use tables but i just think that using a couple floating divs takes up a few less code lines which is favorable to me, at least. i guess i just never thought to use or even learn flex because float is what i learned first and it stuck. me and float:left; + float:right; against the world wide web!!
Logged





Artifact Swap: Cheese Stone
fairyrune
Full Member ⚓︎
***
View Profile WWW


we live to make the impossible possible!
⛺︎ My Room
iMood: fairyrune

Guild Memberships:
Artifacts:
Joined 2025!
« Reply #6 on: March 08, 2026 @964.49 »

I actually find flex a lot easier to control/predict the outcome of than float.

100%! i feel a bit like i'm gambling when i use float. i used to, though, when i first learned to code! nowadays, i like flex for its stability. also, it means i can space things out super easily.

if i'm just aligning something, though? float. or margin: 0 auto  :omg:

i definitely agree with the sentiment that none are a one-size-fits-all solution of sorts. it depends on the context... but it's interesting to see how many ways you can do the same thing with code.
Logged

☾ "you want to run - i'll run with you" ☼

Artifact Swap: pawDino Fossil
futurearcana
Jr. Member ⚓︎
**
View Profile WWWArt


he/him
⛺︎ My Room
XMPP: Chat!

Artifacts:
Joined 2025!
« Reply #7 on: March 08, 2026 @966.01 »

Flex & grid all the way. I've been at this enough to have done it all, fromt tables to floats and when flex came around my layouts finally stopped breaking  :chef:

Whatever works tho, if your layout is slightly broken it just adds to the charm!

Also I don't know how I feel about flex being able to basically replace any other existing layout systems without even breaking a sweat. Maybe this was how it was supposed to be from the start?  :eyes:
Logged

Come sweet slumber, enshroud me in thine purple cloak
littlelum
Jr. Member ⚓︎
**
View Profile WWW


⛺︎ My Room

Guild Memberships:
Artifacts:
Joined 2025!
« Reply #8 on: March 08, 2026 @983.43 »

After a quick look at my CSS file, I used float 5 times and flex 9 times. I've never really paid attention to that, it was more of whatever came to mind first.
Logged
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Flinstone Vitaminold-timey tunes~♪Always working hard!PoochKnown Apple shillcoolest melon on the web!
« Reply #9 on: March 08, 2026 @996.49 »

I actually find flex a lot easier to control/predict the outcome of than float
I think that's what puts me off about flexes; I really enjoy the uncertainty about what a float will do; its like casting a magic spell and hoping you got the words right :wizard:

I do the worst thing a webmaster could do and just use tables. XD t-they were acceptable in 2005, I swear! XD
If its any help, the forums main theme uses table layouts :grin: They have quirks, but once you get into the flow of using them, they do have a unique quality that you don't get with any other system.
Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Air MailPhoenix DownWorm CreatureRoachLasagna
dogbrain
Casual Poster ⚓︎
*
View Profile WWWArt


melting down army guys to make green tea
⛺︎ My Room
StatusCafe: robdog
iMood: robdog
RSS: RSS

Guild Memberships:
Artifacts:
Joined 2026!
« Reply #10 on: March 10, 2026 @12.27 »

i used to commit the cardinal sin of position:absoluting everything before i knew better, but then i learned flex was a thing and i pretty much exclusively use it now LOL. i really like how versatile it is, and it’s way wayyyyyyyy better for making pages accessible for most aspect resolutions. i actually didn’t know you could achieve a similar effect with float until now! i’ll have to try it just for fun  :omg:
Logged


time is flying like an arrow, and the clock hands go so fast they make the wind blow, and it makes the pages of the calendar go flying out the window one by one


candycanearter07
Hero Member ⚓︎
*****
View Profile WWWArt


i like slimes
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: candycanearter
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
chansey!Goomy, I Choose You!Suck At Something September - Did It!uh oh! a pigeon got in!Artsy Candy CaneJoined 2024!
« Reply #11 on: March 10, 2026 @76.09 »

I used to be a chronic flexer and used display: settings WAY too much, but with the tearing down and redesigning of my site to its bare bones, I have been using float a lot more. IMO, display:absolute and the like just makes it more frustrating to code and make elements line up properly, and float looks cleaner...
Logged

new to oldnet be nice





Artifact Swap: radio polySweet Stonecards all the way down
KiwiMeowo
Full Member ⚓︎
***
View Profile WWWArt


Meow
⛺︎ My Room
StatusCafe: kiwimeowo
RSS: RSS

Artifacts:
Joined 2025!
« Reply #12 on: March 10, 2026 @157.34 »

When I flex, I feel my best

I think I've always been using flex, and only used float only if I want to put one div on the left/right. Flex is very flexible (heh) in my opinions, I use it for my layout columns, lists, galleries etc.
Logged

Meow :3

Furbisms
Full Member ⚓︎
***
View Profile WWWArt


What's up party people?
⛺︎ My Room
StatusCafe: furbisms
iMood: Furbisms
RSS: RSS

Guild Memberships:
Artifacts:
Plush ToyBloom MailThe Great MarpleDiamondKurbyJoined 2025!
« Reply #13 on: March 10, 2026 @216.22 »

I'm a floater because I first learned HTML/CSS ages ago and so my habits aren't entirely up to date lol. I want to learn flex because it does genuinely seem good but for some reason the idea is mildly overwhelming and intimidating. I don't know why! I'm sure it will be worth it when I figure it out, I have a page on my site I want to re-do with it and I need to stop procrastinating lol.
Logged


Artifact Swap: Video CameraPhone CardPencilMicrowaveLaptopKickboardGame MachineFrying PanComputerCameraBattery
xwindows
Full Member
***
View Profile


⛺︎ My Room

Artifacts:
Great Posts PacmanJoined 2024!
« Reply #14 on: March 11, 2026 @541.59 »

I eschew CSS/MovingGoalpost by the matter of principles (1)(2), and my main browser also predates CSS/MovingGoalpost's flexbox specification; so I have not and will never use flex layout on any of my own sites.

This means I use layout rules from CSS 1.0, CSS 2.0, and CSS 2.1: floats are what I make uses of sometimes, along with `display: inline-block` in combination with `text-justify:`, and a bunch of others. Because want my website to be able to "time-travel" (i.e. reliably viewable with browsers from the past and the future), I make do with these limitations as well as occasionally compromising my designs to make them fit. If I encounter a scenario where a complex layout really, really, can't be avoided; I'd fall back to the old standby: HTML <table>.



(1) CSS/MovingGoalpost (called by its proponents "CSS3"), like HTML/MovingGoalpost (usually euphemized as "HTML5"): it is a moving-goalpost specification with no real version number and change at breakneck pace; basically designed to be unimplementable from ground-up by any party outside of "web oligarchs" circle (let alone a single-developer effort common in libre software world) before it changed. I don't call such thing a "standard".

(2) Technically I do still allow myself to sprink some cosmetic rules from CSS/MovingGoalpost onto my sites; under a strict rule that my site layout must not break down, degrade, or have it usability hampered in any way when I viewed it under browsers that don't support CSS/MovingGoalpost. So no structural stuffs like flex layout, aspect ratio controls, newer length units; mobile media query ought to mirror CSS2 handheld style, and even seemingly-cosmetics things like text/box shadows have to be designed strategically to stay readable/distinguishable when shadow disappear etc.
Logged
Pages: [1] 2 Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi