Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tannhaeuser
on Aug 16, 2017
|
parent
|
context
|
favorite
| on:
SVG can do that?
You can embed HTML within SVG via SVG's foreignObject, and use HTML/CSS text flow layout within embedded HTML. But it works only on rectangular shapes, and not on IE.
jancsika
on Aug 16, 2017
[–]
You can also just absolutely position an HTML element on top of the SVG.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: