Revision history [back]
Should we have any mandatory stuctural elements in skins?
My initial thought was - mark up all pure content elements with some naming convention. For example ab_q_title
would be class name for question title, or ab_query_id
id of search query input element. Postfix _id
would make id's distinct from classes.
The question is - should we also have some mandatory structural blocks? I.e. container types that would group elements like question title, question toolbar (with delete, edit, etc. links), etc.
Originally I though that we shouldn't because structure items like that enforce layout which will make building alternative layouts harder.
What do you think?
Should we have any mandatory stuctural elements in skins?
My initial thought was - mark up all pure content elements with some naming convention. For example 'ab_q_title' would be class name for question title, or ab_q_title
'ab_query_id' id of search query input element. Postfix ab_query_id
'_id' would make id's distinct from classes._id
The question is - should we also have some mandatory structural blocks? I.e. container types that would group elements like question title, question toolbar (with delete, edit, etc. links), etc.
Originally I though that we shouldn't because structure items like that enforce layout which will make building alternative layouts harder.
What do you think?
Should we have any mandatory stuctural stuctual elements in skins?
My initial thought was - mark up all pure content elements with some naming convention. For example 'ab_q_title' would be class name for question title, or 'ab_query_id' id of search query input element. Postfix '_id' would make id's distinct from classes.
The question is - should we also have some mandatory structural blocks? I.e. container types that would group elements like question title, question toolbar (with delete, edit, etc. links), etc.
Originally I though that we shouldn't because structure items like that enforce layout which will make building alternative layouts harder.
What do you think?