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
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
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
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
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
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
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
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
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