elli: (sga >> desperate)
elli ([personal profile] elli) wrote2008-07-20 08:36 pm

LJ and HTML WTF

Whoever coded Flexible Squares needs some serious HTML lessons. Basic HTML lessons. Classes title, subtitle, sbartitle... There is an easier way to way to do this. You don't use classes if you have HTML tags for this. They are called h1, h2, h3...

Well, go join the new [livejournal.com profile] fs_lims round. ;) You have until tonight I think. Oh, and there is [livejournal.com profile] elitescreen.
trobadora: (Default)

[personal profile] trobadora 2008-07-20 06:53 pm (UTC)(link)
I think the sole purpose of LJ's layouts is to be as complicated and counterintuitive as possible ...

[identity profile] elli.livejournal.com 2008-07-20 08:18 pm (UTC)(link)
rofl... and illogical. *g* It makes no sense to me that they disregard such a basic principle.

[identity profile] anjak-j.livejournal.com 2008-07-20 07:24 pm (UTC)(link)
You can make an argument for either format for the code.

Since h1, h2, h3... can all be used in the body of an entry, and you might not explicitly want them to appear the same globally over a layout, the classes for the isolated entities make more sense. Otherwise you'll end up with ugliness in CSS like '.entry_text h1'.

[identity profile] elli.livejournal.com 2008-07-20 09:10 pm (UTC)(link)
Actually one should always use html tags as much as possible and not divs with classes and ids. Because it's semantically correct and when people view the content who are disabled, it will tell them if it's a point for navigation, a subject line or something else.

Plus, you could base code a h2 tag with say, a color, or text-transform: uppercase. And then fine tweak it using the surrouding div of... like in this case #header, .entry etc. entry_text h1 for instance is not ugly. It's semantically correct and easy to find when you work on your css.

[identity profile] newkidfan.livejournal.com 2008-07-20 07:58 pm (UTC)(link)
LJ layouts suck. Yours is awesome now though. :)

[identity profile] elli.livejournal.com 2008-07-20 09:16 pm (UTC)(link)
Almost! I still need the darn user info done.
And gosh... I just think since this is a service that the base code should be better.

[identity profile] speakfree.livejournal.com 2008-07-20 08:43 pm (UTC)(link)
I hate css :/

Hi there! First time commenting here :o)

[identity profile] elli.livejournal.com 2008-07-20 09:22 pm (UTC)(link)
I love CSS and personally think I'm really good at it. I mean, it's my job to know it. but aaaaaahhhh, lj sometimes really doesn't make it easy.
intermezzo: (Ollian -  red sweater)

here via friends of friends of a friends of friends LJ. ahem

[personal profile] intermezzo 2008-07-25 12:14 pm (UTC)(link)
I heart CSS and HTML, LJ codes? not so much. I used to make my own layouts back during the S1 days, but I gave up with s2. It's just too much hassle. I'll probably start again soon, but atm I just don't feel the need. I already get an headache whenever I try to make cross-platform layouts thanks to davilish IE.

Anyways, I just noticed you, too, love Olli & Christian. Dude, it's so awesome!

Re: here via friends of friends of a friends of friends LJ. ahem

[identity profile] elli.livejournal.com 2008-07-29 03:45 pm (UTC)(link)
yeah, I did my own layouts back then as well. But i just don't have the time anymore.

Hehe..I see you love the i6 as much a I do.

Ollian are the bestest. the next few weeks will be exciting!