this post was submitted on 16 Nov 2024
1 points (100.0% liked)

web_design

6 readers
1 users here now

Web Design.

founded 1 year ago
MODERATORS
 
The original post: /r/web_design by /u/chrispopp8 on 2024-11-15 21:33:07.

I can embed a PDF just fine so it's viewable on a web page on a desktop, and I can use width=100% just fine.

On mobile (iOS), width=100% is ignored and the height (which is width=800) is ok. However, the PDF is stretched.

Android - doesn't even appear but alternative text with a download link is available.

Does anyone have a more elegant solution?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here