From: shawn cassick > > how can i get around the span duplicate id defined, > as i use css to define a border around the title text, > i have thought of using a div tag instead of a span
Your question is somewhat ambiguous, but if you need to style an element repeatedly on a page you should use a class, not an id. CSS .prettything {styles;} Markup <span class=prettything">Pretty stuff</span> With a class defined using just the dot nomenclature you could use it on any element you need to. <div class="prettything">Pretty div</div> <p class="prettything">Pretty paragraph</p> and so on. -- Peter Williams ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************