zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)
still kind of a stealthy love ninja ([personal profile] zvi) wrote in [site community profile] dw_suggestions2009-10-20 12:51 am

Make the tags of an entry be classes on the entry

Title:
Make the tags of an entry be classes on the entry

Area:
styles, entries

Summary:
Apply the tags assigned to an entry as classes to the entry as well. This will allow a user to put custom CSS to style all of their entries tagged a certain way (e.g. recipe, story, art) the same.

Description:
I have sometimes come across people who like to post some subset of their entries, usually their fanfiction, in ways that I find not very readable, mostly to do with spacing, sometimes they feel the need to set the story font, or they want colors in the heading or something.

If the entries of that type all had a class applied to them, the person could use custom CSS to style the entry as they liked when they were looking at it or when someone was looking at it in its original style, but when I switched to my style, all of their styling would go away, as is not now the case when I apply Firefox's "No style" function to a page where styling has been directly applied.

The main difficulty would be advertising that the feature exists so that people could take advantage of it. Also, it would add to the length of journal pages, making them longer to download than they are now.

Poll #1503 Make the tags of an entry be classes on the entry
Open to: Registered Users, detailed results viewable to: All, participants: 36


This suggestion:

View Answers

Should be implemented as-is.
23 (63.9%)

Should be implemented with changes. (please comment)
1 (2.8%)

Shouldn't be implemented.
3 (8.3%)

(I have no opinion)
8 (22.2%)

(Other: please comment)
1 (2.8%)

matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2009-10-22 01:05 am (UTC)(link)
Basic rule of being nice online--if you want to force your styling and your preferences onto my reading page, then you might think it's cool, but I find it obnoxious and worthy of unsubscribing.

This is especially true of only partially defined changes--people changing the font colour to a dark blue works fine on their light background, but is unreadable on my necessarily dark background, etc

Auto formatting with CSS is a very nifty trick that I like lots. Hmm, wonder if it could be hacked into a layer anyway.
ratcreature: Tech-Voodoo: RatCreature waves a dead chicken over a computer. (voodoo)

[personal profile] ratcreature 2009-10-22 07:19 am (UTC)(link)
Well, I am annoyed by hardcoded fonts and such too, because I need somewhat larger (though not huge fonts) to see, so you are preaching to the choir. I think I misunderstood the proposal. I thought it was talking about just implementing the classes for tags to mark them on the site but no styles and then people use CSS on their own computers so that others wouldn't be impacted by the formatting or bothered at all (that's the first thing I think of when I hear "custom css" a local thing that is not for others), but I later realized the proposal likely talks about the CSS you customize for your journal that others do see, unless they do not want to.
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)

[personal profile] matgb 2009-10-22 11:21 am (UTC)(link)
Ah, yes, I see--locally customised CSS is something most people will both never do and be completely bemused by, but every journal theme out there these days uses large amount of CSS in it.

I used to do this sort of thing when I was blogging semi-seriously, but had to hand code the 'class=news' and 'class=LOL' code into each post, this would both be a lot easier, be less likely for me to forget and allow me to go back and amend all my old entries easily, which would be nice.