Classes and divs, once and for all

    Date: 01/18/08 (Web Development)    Keywords: no keywords

    Some helpful folks here have enlightened me to sorted out the main difference between classes and divs and how to use them. But I see something defined this way in the style sheet:

    [Error: Irreparable invalid markup ('') in entry. Owner must fix manually. Raw contents below.]

    Some helpful folks here have enlightened me to sorted out the main difference between classes and divs and how to use them. But I see something defined this way in the style sheet: and also . What is the difference between those and good old fashioned <#divname>? I've used <#divname .class name> to define a class inside a div, and I mostly get that. But what about the other variations?

    Also, what is the point of defining a class inside of a div (such as <#divname .class name>)? I've tinkered around a bit and sometimes noticed a difference between defining a class in a div versus just having the class defined independently, but if someone can summarize it for my memories section that would be great. Thanks!

    Source: http://community.livejournal.com/webdev/459588.html

« Tracking usage/viewage || создание и... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home