Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Font style in div still affected by previous tag
Message
From
24/01/2016 16:30:31
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
24/01/2016 13:54:59
General information
Forum:
HTML5
Category:
HTML
Miscellaneous
Thread ID:
01630054
Message ID:
01630165
Views:
49
>>How about introducing the formatting buttons? There's lots of free code doing that in various forum platforms. Then the actual markup may be just a span tag with a class of your own. There's room for that in the bottom right line of the message header, below message ID. Just the minimal set of tags - bold, italic, strikethrough - what people already use. So at least we wouldn't be seeing people trying to "use" quotation "marks" for "emphasis" :).
>
>Yes, but not only do we need to validate on input but also on the output. I need to be sure that whatever is on the database, good or bad, doesn't break the page.

What I had in mind is to use something like
outer text <span class="italic">text text text</span> more outer text
instead of the I tag, and similarly for other tags. Nothing changes in the interpretation of older text, just these classes (defined somewhere in your .css) would apply to text formatted using these buttons in new messages.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform