sonder winter 1711

Guide: Line breaks for readability formatting within style tags


Soldier

from Saora
age
4 years old
gender
Male
size
Large
scent
Mint, smoke
supporting
Undecided
home
Inverness
threadlog
encounters
writer
Lyk
As you may know, style tags used in posts break if CSS isn't all written in one line. This is due the board automatically turning line breaks into < br > tags for our convenience (normally HTML just ignores line breaks and we'd have to insert those tags ourselves) and when they show up where the browser expects CSS it just all falls apart.

However, this issue can be circumvented by commenting out every line break. Best to demonstrate with an example!



Sorry it's an image instead of a code block, either I don't remember how to use them or they don't like me. Anyway, should easy to get the general idea from that. Have fun
01-23-2022, 03:00 PM
Users browsing this thread: 2 Guest(s)