Good code

Aug. 13th, 2003 11:37 pm
mmcirvin: (Default)
[personal profile] mmcirvin
Anyway, as I've said more than once before, I think that the default templates ("styles" in LJ-speak) provided to LJ users ought to have code in them at least as well-formed as the ones I hacked up today. The new style system does seem to be an interesting overhaul of the template-editing user interface, but the HTML in the templates themselves could be better.

I might make mine public sooner or later.

It would be even nicer if there were a facility for linking to separate CSS files served from LiveJournal. That might actually reduce the load on the servers, since elaborate styles could be cached for multiple views and the view HTML could be extremely lean.

(Users could link to stylesheets on servers external to LiveJournal, but that's not really a good idea for various reasons.)

Update: Fiddled with the code to demonstrate a silly trick.

Update update: Took out the trick because it ruined validation completely. The "one-paragraph-per-entry-with-BRs" format really cramps my style.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

May 2025

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 8th, 2025 08:48 am
Powered by Dreamwidth Studios