Re: [WSG] duplicate id

2006-05-11 Thread Shawn J. Cassick
Patrick H. Lauke wrote: Shawn J. Cassick wrote: i have tossed the class in there instead of the id, but then the css for some reason wont render on screen. Of course you need to change your CSS to reference classes rather than ids. Without sounding patronising, may I suggest a beginners

Re: [WSG] duplicate id

2006-05-10 Thread Designer
Peter Williams wrote: 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=prettythingPretty stuff/span With a class defined using just the dot nomenclature you could use

Re: [WSG] duplicate id

2006-05-10 Thread Shawn J. Cassick
Ted Drake wrote: Don’t 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

Re: [WSG] duplicate id

2006-05-10 Thread Shawn J. Cassick
Kevin Futter wrote: On 10/5/06 9:45 AM, shawn cassick [EMAIL PROTECTED] wrote: 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

Re: [WSG] duplicate id

2006-05-10 Thread Patrick H. Lauke
Shawn J. Cassick wrote: i have tossed the class in there instead of the id, but then the css for some reason wont render on screen. Of course you need to change your CSS to reference classes rather than ids. Without sounding patronising, may I suggest a beginners tutorial on CSS to get to

Re: [WSG] duplicate id

2006-05-09 Thread Lachlan Hunt
shawn cassick wrote: i am currently recoding a page from sloppy html to xhtml 1.0 strict, Why XHTML? Search the archives for previous discussion on the topic. my question is, how can i get around the span duplicate id defined, Use a class name instead of an id. as i use css to define a

RE: [WSG] duplicate id

2006-05-09 Thread Ted Drake
Don’t 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

RE: [WSG] duplicate id

2006-05-09 Thread Peter Williams
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

Re: [WSG] duplicate id

2006-05-09 Thread Kevin Futter
Title: Re: [WSG] duplicate id On 10/5/06 9:45 AM, shawn cassick [EMAIL PROTECTED] wrote: 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