Thread: <wbr>
View Single Post
Old 05-16-2022, 06:44 PM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,615
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
<wbr>

I have a number of footnotes that contain long URL's. These long URL's force an empty line and extend past the right margin. (image)

I have read both Mozilla and W3Schools and the <wbr> seems pretty easy to use, but both the Calibre Check Book and the EpubCheck plugin flag this use as an error.

https://developer.mozilla.org/en-US/...ML/Element/wbr
https://www.w3schools.com/tags/tag_wbr.asp

This is how I have used it...
PHP Code:
<class="footnote"><a id="p05c60j" href="p05c60.xhtml#p05c60i">§</ahttp://news.bbc.co.uk/<wbr>1/hi/in_depth/<wbr>sci_tech/<wbr>2002/<wbr>leicester_2002/<wbr>partx2253636.stm. The BBC gives no scientific reference for the eight-degree claim.</p> 
Could someone please help me understand how to use <wbr> correctly.
Thanks
Attached Thumbnails
Click image for larger version

Name:	wbr.jpg
Views:	160
Size:	24.4 KB
ID:	193853  
Karellen is offline   Reply With Quote