Dont base your markup decisions on how the final product looks. Base your markup decisions on what the content is and should be. So, if the title test is the title of the page, it should be marked up with a header tag. Placing it in a span, div, p, etc is not giving it the structural and semantic value it deserves.
Spans should be used conservatively. You should think twice, maybe three times before using on. They arent bad, just easily abused. Look for a more structural/semantic option first. Use a div if it is a block, use a span if it sits within another element, like a link or paragraph. If you find yourself needing to use an id twice, its time to re-evaluate what you are doing or use a class instead. Ted http://www.last-child.com ________________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of shawn cassick Sent: Tuesday, May 09, 2006 4:46 PM To: [email protected] Subject: [WSG] duplicate id i am currently recoding a page from sloppy html to xhtml 1.0 strict, my question is, how can i get around the span duplicate id defined, as i use css to define a border around the title text, yes i thought of using h1, b, etc. and relating the css to those tags, but the titles are to have pretty much the same properties as the main text. long story short does anyone have an idea of how to get around it, i am currently at school right now but any responses would be nice, i have thought of using a div tag instead of a span and making the width auto, but still... thanks guys Shawn Cassick Lead Designer - Bumlabs.com ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
