CSS Style Tag Limits | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

CSS Style Tag Limits

So, I'm using the CSS Style and when trying to add Attributes (text-size, vertical-align, ect.) it limits at 3. Whenever I try to put more, the attributes simply just don't work. Is there a fix for this? (Note: This will be a concept for an online game start-page. It is only the beginning so if I need to do something late in the code, please say so before answering) https://code.sololearn.com/WPkF8XKKXD2a/?ref=app

17th Jul 2020, 4:21 AM
AlexCreeper
AlexCreeper - avatar
2 Answers
0
First of all , it's font-size not text-size and use 'large' instead of 'xlarge'. And secondly , The vertical-align property in CSS controls how elements set next to each other on a line are lined up. In order for this to work, the elements need to be set along a baseline. There are no limitations.
17th Jul 2020, 4:41 AM
Ćheyat
Ćheyat - avatar
0
Thanks Ćhenyat, I put XLarge because that was an option in the lesson
17th Jul 2020, 4:44 AM
AlexCreeper
AlexCreeper - avatar