May 21, 2019, 07:29:11 am

News:

Starting database dump, server may be slow for a little while



Alternatively, join us on Discord.

+-Recent Topics

Remembering back when web design standards did not suck

Started by DJ Omnimaga, April 02, 2017, 03:46:11 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DJ Omnimaga

Yeah I hate how most websites requires javascript. This won't be a big issue soon due to more powerful computers but it's still an annoyance. As for tables vs CSS, for me it's the opposite. I never could get tables to show up how I want. X.x

Travis

Yeah, I think the tables thing really depends on exactly what you're trying to do (and maybe even just how you personally think about things when designing a page, sort of like how different people have different programming styles and approaches). Right now, my personal attitude about tables is that, first of all, they're fine if you're just presenting tabular text data (like how tables are traditionally used in print)--that's what they were really intended for. For layout and appearance, it's more proper to use CSS. I've found that using non-table elements works well for certain layout tasks, but for ones where I really do want table-like layout behavior, it's possible to still use divs and such but use CSS's 'display' property to make the browser display them exactly as if they were tables. This method is nice because I get all the table-like behavior and (IIRC) it has good browser support. Opinion on whether it's "proper" seems to be divided, but IMO there's nothing wrong with it because you're not literally using tables for layout in the HTML and you're still using CSS as it was intended: to dictate presentation. (And if it is somehow "bad", the W3C shouldn't have included it in the CSS standard in the first place, so there. :P)

I believe there is a "flex-box" thing that's supposed to provide some of the flexibility of the old tables, but browser support doesn't yet seem as widespread as the method I just mentioned.

c4ooo

Quote from: Juju on April 23, 2017, 07:50:13 am
Heck, you can even make an entire functional OS only out of Javascript in your browser.

Javascript based linux kernel anyone?

Juju

If you use a modern browser like 97% of Internet users, flex-boxes should work correctly by now. CSS is enough powerful nowadays you no longer need tables to position anything.

Quote from: c4ooo on April 24, 2017, 08:42:21 pm
Quote from: Juju on April 23, 2017, 07:50:13 am
Heck, you can even make an entire functional OS only out of Javascript in your browser.

Javascript based linux kernel anyone?
Pretty sure it's been done already. Or at least a port of QEMU.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

p2

Quote from: c4ooo on April 24, 2017, 08:42:21 pm
Quote from: Juju on April 23, 2017, 07:50:13 am
Heck, you can even make an entire functional OS only out of Javascript in your browser.

Javascript based linux kernel anyone?

Pretty sure Alvajoy would go for this ^^
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga


p2

wait... He does basic? I thought he was going for Assembler Language...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga


p2

did someone tell him about the TI Planet contest? He's rather new so he might not know ^^
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

DJ Omnimaga

I dunno if he saw the topic

Edit by p2: I hate this "Sent from my Nexus 5 using Tapatalk" >.<


Powered by EzPortal