So, in that scenario, I would consider the following:
In the CSS put...
#searchResults strong {background-color: #ffff00}
In the HTML...
<div id="searchResults">
You can <strong>highlight</strong> text within search results.
</div>
This results in less code! Of course you can only have one search results
div using this solution.
- Calvin
-----Original Message-----
From: Micha Schopman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 10:33 AM
To: CF-Talk
Subject: RE: Gmail highlighting
At first I would say yes, EM would be a good candidate, however I would
reserve EM for larger code blocks. Like a note, a warning, etc.
This part states you might better use strong for it. But honestly, I
wouldn't care while both have their semantics in letting content stand
out.
"Thus, it would be logical to define that em emphasizes the enclosed
text with respect to the text in the enclosing element and should be
rendered in a manner that reflects this; whereas strong (renamed to e.g.
key or highlight, if we give up continuity, as planned for XHTML 2.0)
would indicate its content as key word or phrase in the context of the
entire document, to appear as highlighted when possible, and to gain
special weight in indexing."
Micha Schopman
Project Manager
Modern Media, Databankweg 12 M, 3821 AL Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep.
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
-----Original Message-----
From: Calvin Ward [mailto:[EMAIL PROTECTED]
Sent: maandag 14 maart 2005 16:26
To: CF-Talk
Subject: RE: Gmail highlighting
Hmm, would <em> be more appropriate in that context?
- Calvin
-----Original Message-----
From: Micha Schopman [mailto:[EMAIL PROTECTED]
Sent: Monday, March 14, 2005 9:37 AM
To: CF-Talk
Subject: RE: Gmail highlighting
When taking a semantic approach, I would consider using <strong> for
highlighting. Not span.
Micha Schopman
Project Manager
Modern Media, Databankweg 12 M, 3821 AL Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren
de interactie met uw doelgroep.
Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer
informatie zie www.modernmedia.nl
------------------------------------------------------------------------
------------------------------------------------------------------------
-----
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54