TheManInTheMask
New Member
I understand the title is a bit misleading, but I come from an Object-Oriented background, and I've recently began a shift towards web development. I've only got a basic grasp of HTML, and been learning and messing around with CSS, but there are some parts of it that are a bit confusing, and I'm trying to get it into terms I can understand.My CSS:\[code\].Person .span4 p{ margin-left: 10px; margin-right:10px; margin-top:10px;}\[/code\]From what I can understand, this means that any p tag that is inside a container, like with the class of "span4", which is in turn inside another container that has class="Person" will be formatted with the specifications listed above. In other words person.span4.p.format(String[] formatArgs), where the formatArgs are the margin-left, right, and top. The Question: Is this an appropriate way to look at it?I know it might be comparing apples to oranges, but I'd like to get an opinion before I go running with some conclusion that could be very wrong, and an actual explanation on how these work.