Hi illpro1, I think you may have misread or misunderstood the text of explanation in the lesson. I am talking about this part
The text-align property can be set to one of the following three values: left — aligns text to the left hand side of its parent element, which in this case is the browser. Ok. This is not saying to the left of the browser window or the HTML page itself. If no ‘text-align’ rule is put in a .css file then by default the browser will align things to the left side of the browser window or view screen or however you like to think about viewing/looking at a web-page. You can prove this to yourself by making a simple HTML file using the
<h>A Test</h>then displaying it your browser of choice. It’s when you as the writer or author or maker of the web-page would like to have some header or paragraph or some other kind of element to appear lined up on the page somewhere else other than the left side is when you use the a text-align to place where you or your customer/client/friend wants it. I really hope this helps clear up the purpose of the text-align property as it is used in CSS files. Oh, and by the way I fully understand what you mean when you say how can the browser be considered the parent. To my mind the browser program isn’t the ‘parent’ in a relational sense to any web-page/web-site. It is the program that displays the contents of the web-page/web-site. The only way I can wrap my mind around it as a ‘parent’ is to think in terms of containers(think of a boxes within boxes) and in this case the browser is kind of like the parent container and the operating system(windows,linux,etc.) is the parent of the browser program and the hardware(motherboard,memory, etc) is the parent of the operating system.