Atamido, KevinMarks, voxpelli, nonge, andr3, chiui and uf-wiki-visitor joined the channel
#RobinHello microformatters. Does anyone know of standards for class names for layout elements on HTML?
#NottRobinHello microformatters. Does anyone know of standards for class names for layout elements in HTML? It occurs to me that many pages have a very standard layout of 1) a "squeeze" container element, 2) a header 3) a navigation 4) main content 5) footer
#NottRobinare there standards in how you mark-up those elements with class-names?
#voxpelliNottRobin: There are standard elements for them in HTML5 - I would suggest either using those elements or use classnames with the names of those elements
#NottRobinI was wondering if there were more specific standards for whether <nav> goes inside <header> or out side it, or for how you should name a "container" element...
#NottRobinYeah, that explains semantic elements pretty well. Thanks. I guess there is no more specific - even draft - standard for how exactly you structure those common layout elements.
#NottRobinI was thinking someone might have defined a standard like <body><header></header><div class="content"><aside class="pre"></aside><article></article></div><footer></footer></body></div> that anyone could copy to make their document structure a bit more standard.
#NottRobinYep that appears to aggregate a whole set of commonly held principles for semantic markup, like not using tables for layout, not using anorexic anchors etc. Unfortunately I couldn't see anything in poshformats or poshpatterns about defining layout and naming of structural elements.
#NottRobinI'll just come up with my own standard for it