Notice: My personal stance on AI generated artwork. Retweet and share if you agree. Let us discuss, and not immediately scream bloody murder.

Now Viewing: Add proper HTML markup
Keep it civil, do not flame or bait other users. If you notice anything illegal or inappropriate being discussed, contact an administrator or moderator.

Laice - Group: Member - Total Posts: 13
user_avatar
Add proper HTML markup
Posted on: 08/10/17 08:18AM

Another Gelbooru markup/CSS update has come and gone, but the underlying HTML structure remains the same mess it has been for years. There are just endless stacks of bare elements with no no containers, no classes, no IDs. I can give specific examples where it's particularly awful, but in general it's "anywhere in the left pane or middle pane."

This kind of markup makes writing custom CSS, user scripts, etc. difficult and prone to breaking whenever the slightest thing changes in the page layout. It would be very helpful, not to mention just standard practice, to organize things in at least a purely semantic structure of containers and give everything a class and/or ID.



jedi1357 - Group: Moderator - Total Posts: 5772
user_avatar
Posted on: 08/10/17 10:56AM

Laice said:
Another Gelbooru markup/CSS update has come and gone, but the underlying HTML structure remains the same mess it has been for years. There are just endless stacks of bare elements with no no containers, no classes, no IDs. I can give specific examples where it's particularly awful, but in general it's "anywhere in the left pane or middle pane."

This kind of markup makes writing custom CSS, user scripts, etc. difficult and prone to breaking whenever the slightest thing changes in the page layout. It would be very helpful, not to mention just standard practice, to organize things in at least a purely semantic structure of containers and give everything a class and/or ID.


Please use our Trac: gelbooru.com/index.php?page=tracker&s=list

Our main site developer almost never visits the forum and will not see your request unless it's in the Trac.



Jerl - Group: The Real Administrator - Total Posts: 6704
user_avatar
Posted on: 08/10/17 11:16AM

jedi1357 said:
Laice said:
Another Gelbooru markup/CSS update has come and gone, but the underlying HTML structure remains the same mess it has been for years. There are just endless stacks of bare elements with no no containers, no classes, no IDs. I can give specific examples where it's particularly awful, but in general it's "anywhere in the left pane or middle pane."

This kind of markup makes writing custom CSS, user scripts, etc. difficult and prone to breaking whenever the slightest thing changes in the page layout. It would be very helpful, not to mention just standard practice, to organize things in at least a purely semantic structure of containers and give everything a class and/or ID.


Please use our Trac: gelbooru.com/index.php?page=tracker&s=list

Our main site developer almost never visits the forum and will not see your request unless it's in the Trac.


Layout is handled by lozer, not Geltas, just FYI.



add_replyAdd Reply


1