Hallo.
Ich würde gerne ein Span "ansprechen" welches ein bestimmtes Titel hat.
Ist die CSS-Schreibweise so korrekt?
Ich würde gerne ein Span "ansprechen" welches ein bestimmtes Titel hat.
HTML:
<span title="auto"></span>
CSS:
#content > table > tbody > tr > td:nth-child(1) > span[title^="auto"]
{
css sprite...
}
#content > table > tbody > tr > td:nth-child(1) > span[title^="motorrad"]
{
css sprite...
}
#content > table > tbody > tr > td:nth-child(1) > span[title^="auto motor sport"]
{
css sprite...
}
Ist die CSS-Schreibweise so korrekt?
CSS:
span[title^="auto"]
span[title="auto"]