Topic: Does anyone know how to center an iframe in CSS?
Anonymous A started this discussion 11 years ago #46,110
Do I have to fuck with padding and margin or is there another way to accomplish this?
Anonymous B joined in and replied with this 11 years ago, 45 minutes later[^] [v] #608,547
Anonymous C joined in and replied with this 11 years ago, 2 minutes later, 47 minutes after the original post[^] [v] #608,548
kook !!Phkn/3Gic joined in and replied with this 11 years ago, 8 minutes later, 56 minutes after the original post[^] [v] #608,549
@608,547 (B)
I liked seeing this. thank you
Anonymous E joined in and replied with this 11 years ago, 26 minutes later, 1 hour after the original post[^] [v] #608,550
@608,547 (B)
What did you post?
@previous (kook !!Phkn/3Gic)
Can you still see it?
FuckAlms !vX8K53rFBI joined in and replied with this 11 years ago, 2 hours later, 3 hours after the original post[^] [v] #608,560
it's something like {padding:50%} or {margin:50%}
Anonymous A (OP) replied with this 11 years ago, 5 minutes later, 3 hours after the original post[^] [v] #608,563
@previous (FuckAlms !vX8K53rFBI)
That just moved the thing way off of the page.
I noticed that { padding: auto; } managed to center it somewhat.
FuckAlms !vX8K53rFBI replied with this 11 years ago, 2 minutes later, 3 hours after the original post[^] [v] #608,566
@previous (A)
yeah that's it
kook !!Phkn/3Gic replied with this 11 years ago, 6 hours later, 10 hours after the original post[^] [v] #608,591
↕