CSS - child font-size using em -
What is the most effective way to make all nested inventory items the same size, which is not equal to 1. For example, I want all Li to UL's parents to be size up to 0.85EM in this list. Do I have to make a separate class for every "level" depth?
& lt; Html & gt; & Lt; Top & gt; & Lt; Style type = "text / css" & gt; Lee (font size: 0.85em; } & Lt; / Style & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Ul & gt; & Lt; Li & gt; Level 1 item & lt; Ul & gt; & Lt; Li & gt; Level 2 item & lt; Ul & gt; & Lt; Li & gt; Level 3 item & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Body & gt; & Lt; / Html & gt;
should work.
li li {font-size: 100%;}
Comments
Post a Comment