

* line-height:normal /* TEST line-height normal is the default */

* line-height:1.1 /* TEST line-height */ * line-height:1 /* TEST line-height pick one and enable it. Both properties are inherited by the paragraphs and right aligned. It looks like 1.1 would be the minimum on text2 and 1.0 on text1&3 p.text-1, p.text-3 to the parent boxes, the upper example has the class in the outer box, the lower example has the class in the parent box. 8 with some extra text that I forced to wrap by reducing my browser window.Īs you can see the capital T has the potential of overlapping a lower j.Īctually it’s starting to overlap at line-height:1 on all p tags If you go too small you would see wrapping text layered on top each other. You can cheat it down but I wouldn’t go too small for the reasons I just mentioned along with text that might wrap to a new line. When stacked between two strings of text at 19px font-size it appears as margin, but it’s not.ĭefault line-height is 1.2 or 1.3 if I remember correctly, That is so it allows space for text ascenders and descenders. You do have a default line-height on that 55px font-size that plays a role in the spacing. Īs instructed, but it only reduced the lower gap. So, my question is how do I keep this line from stacking like this:Īny additional help with this is appreciated.

(also, I don’t know if this should be a whole new posting, for this help request). The code below might help with my explanation. So, when I add your code into that container the “text” and “:” and “text1” all stack on top of each other, but I’d like that line to not stack, and instead display in one single line. However, I need the provided code to be within the container named box99, which is using display block for the text there, so it all stacks on top of each other on the page. Lists Unordered Lists Ordered Lists Other Lists HTML Block & Inline HTML Classes HTML Id HTML Iframes HTML JavaScript HTML File Paths HTML Head HTML Layout HTML Responsive HTML Computercode HTML Semantics HTML Style Guide HTML Entities HTML Symbols HTML Emojis HTML Charset HTML URL Encode HTML vs.What you provided worked successfully.Thank you again - much appreciated.
