> I've encouraged them to instead use HDL<span
> style="font-size:8pt">3</span> instead.  It looks better because it
> doesn't increase the line spacing. They now have several of each
> throughout the site. 
> 
> I just tested a search and found that none of the above show up in the
> results.  Only HDL3 shows up as a result for a search "hdl3".
> HDL<sub>3</sub> and HDL<span style="font-size:8pt">3</span> are
> excluded.
> 
> I'm glad someone caught this.  Can we have spans treated the same way?
> I often use <span> tags with stylesheet rules in place of some HTML
> equivs.

; It's a pretty easy fix:  just add "|span|/span" to the end of the
string
;passed to nobreaktags.Pattern("...") on line 85 of HTML.cc (in 3.1.6).
;I had put font tags in the list for this very reason, but I didn't put
in
;span.

;I'm really ignorant when it comes to CSS tags in HTML, but are span
tags
;just used for font and style changes which shouldn't trigger a word
break,
;or are there other uses of <span ...> which should cause word breaks?

;In any case, it would probably make sense to have this list settable by
;config attribute, to allow adapting to varying needs and evolving
;standards.

<span> tags have been around for ever, but they don't do anything.
They're just a container.  They're related to a <div> tag which implies
a break.  <span> tags should not imply a break and really should just be
invisible to robots (IMHO).  I'll make the change you recommended.
Couldn't we just as easily add the <sub> and <sup> tags?  Or is that a
quick hack in comparison to some other solution?

Matt Nuzum


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to