We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(didn't work for me) sub { vertical-align: sub } sup { vertical-align: super }
(solution) sub, sup {vertical-align: baseline; position: relative; font-size: 70%;} sub {bottom: -0.6em;} sup {top: -1.0em;}
The text was updated successfully, but these errors were encountered:
Thanks for the tip. Vertical-align is not fully implemented, this is one of the trickiest features to implement from CSS 2.1
FYI, the current implementation can be found here : https://github.com/silexlabs/Cocktail/blob/master/cocktail/core/linebox/LineBox.hx#LC712
Sorry, something went wrong.
(Y) ok I forgot to tell you where I changed > DefaultCSSStyleSheet
Pure as3: (worked fine) var cssRules:String = "sub, sup {vertical-align: baseline; position: relative; font-size: 70%;} sub {bottom: -0.6em;} sup { top: -1.0em; }"; var myStyle:CSSStyleSheet = new CSSStyleSheet(cssRules, PropertyOriginValue.USER_AGENT); document.addStyleSheet(myStyle);
No branches or pull requests
(didn't work for me)
sub { vertical-align: sub }
sup { vertical-align: super }
(solution)
sub, sup {vertical-align: baseline; position: relative; font-size: 70%;}
sub {bottom: -0.6em;}
sup {top: -1.0em;}
The text was updated successfully, but these errors were encountered: