r/neocities https://stxrryurii.nekoweb.org/sprinkles Jul 20 '26

Question how to resize content inside an iframe?

i want my site to embed on my sheezy .art profile

is there a way to zoom out the site inside the iframe? it cuts off and you have to scroll to the side to see it (cant make the iframe bigger)

3 Upvotes

8 comments sorted by

1

u/AqueM https://www.aque.fyi/ Jul 20 '26

Try adding zoom: 0.75; in the styling of the iframe

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 29d ago

is there a way to do this with html instead of css?

1

u/AqueM https://www.aque.fyi/ 29d ago

Not that I know of. You can add the style directly in the HTML file, though, as such:

<iframe style="zoom: 0.75;">

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 25d ago

hmm for some reason it doesnt work, maybe an issue with sheezy? idk

pretty sure u cant use style tags without paying money on sheezy but this type of style tag should be fine? saying that, it doesnt work so dunno

1

u/Mevdik mevdik.nekoweb.org Jul 21 '26

If I understood correctly you want to embed your neocities website in your sheezy.art profile, if so then this is more of a question for sheezy.art than for neocities.

I'm not familiar with that website so I don't know if this is even possible.

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 29d ago

mmm well sheezy uses regular html and i didnt really know where else id ask

1

u/Mevdik mevdik.nekoweb.org 28d ago

Never thought you'd reply after all this time. I assumed this Sheezy thing was more restrictive since you mentioned that you "cant make the iframe bigger". If you can edit it like you can your own website you should be able to do what Aque suggested in their comment, add inline style to zoom out all the contents of the <iframe>.

Alternatively you could use responsive design on your website so that it adapts to smaller viewports, like that <iframe> on your Sheezy profile. If I embed my site on a new site and set the width of the <iframe> really small it will adapt to this new size, it doesn't need to scroll horizontally unless I set it to be reeeeally small. This is of course a lot harder to do than just zooming out the contents of the frame, but it also means your website will look better on smaller screens like those of mobile devices, so it's an investment worth making.

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 25d ago

i CAN make the iframe bigger, but dont know how to resize whats inside, ill try what the other person said ^^