Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Should we have any mandatory 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?

Should we have any mandatory stuctual 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' ab_q_title would be class name for question title, or 'ab_query_id' ab_query_id id of search query input element. Postfix '_id' _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?