« Project home page
my little forum
Log in
Register
Search:
Back to the entry by Auge
Post reply
Reply to the message by
Auge
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
General
Project organisation
Technics
Design/Themes
Features
Development
Todo
Bugs
German / Deutsch
Spanish / Español
French / Français
Accessibility/UX
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
upload image
upload image ...
insert TeX code
[tex]TeX code[/tex]
insert code
[inlinecode]code[/inlinecode]
[code]code[/code]
[code=css]code[/code]
[code=html]code[/code]
[code=javascript]code[/code]
[code=perl]code[/code]
[code=php]code[/code]
[code=sql]code[/code]
[code=xml]code[/code]
:-)
;-)
:-P
:-D
:-|
:-(
:yes:
:no:
:ok:
:lol:
:lol2:
:lol3:
:cool:
:surprised:
:angry:
:crying:
:waving:
:confused:
:lookaround:
:clap:
:love:
:tick:
Message:
> Hello Micha > > > I added [link=https://github.com/ilosuna/mylittleforum/pull/519]the changes to github[/link]. So, it will included to the upcoming 2.5. I also added the option [inlinecode][LTR][/inlinecode] in a similar way. > > I stumbled upon this thread by searching another one. I have one question and a remark. > > [i][b]The question[/b][/i]: Your implementation does not contain buttons for inserting the bb-codes. Wouldn't it be nice to make the feature more visible by providing buttons for it? At least optional with a setting (like the one for TeX or code)? > > [i][b]The remark[/b][/i]: Reading in the SelfHTML-forum I came across the values [inlinecode]start[/inlinecode] and [inlinecode]end[/inlinecode] for the property [inlinecode]text-align[/inlinecode]. Those values are writing direction agnostic, what means, that [inlinecode]text-align: start;[/inlinecode] corresponds with [inlinecode]text-align: left;[/inlinecode] in ltr languages but at the same time with [inlinecode]text-align: right;[/inlinecode] in rtl languages. Setting [inlinecode]text-align: start;[/inlinecode] as default value for [inlinecode]html[/inlinecode] (or [inlinecode]body[/inlinecode]) and replacing all occurences of [inlinecode]text-align: right;[/inlinecode] with [inlinecode]text-align: end;[/inlinecode] would make the forum in general more usable with rtl languages (even we currently have not a single translation to any ltr-written language :-(). > > With the exception of a few mobile browsers and really ancient software, [link=https://caniuse.com/mdn-css_properties_text-align_flow_relative_values_start_and_end]the browser-support[/link] for the values [inlinecode]start[/inlinecode] and [inlinecode]end[/inlinecode] is good. We can basically support even those incapable browsers by prefixing the modern way by the classic values instead of replacing the old with the new value. > > [code=css]element { > text-align: right; > text-align: end; > }[/code] > > I implemented this change in my theme and according to my observations it works flawless. > > Tschö, Auge
E-mail notification on reply of this posting
OK - Submit
Preview