So I made my Webgarden and put together a page for all of your Webgardens, but mine is showing up slightly offcenter - anyone care to take a stab at my hacked together code and provide insight how to fix it so it's centered, before I add everyone elses gardens? https://paintkiller.neocities.org/new/webgardems.html
Maybe it could be that in your webgarden pot, the tags have a slight margin around them, which puts the centering off-kilter? The margins are represented by the yellow border in this image (https://i.imgur.com/aVFtQyO.png) -- this was an issue for me at one point but setting the margins to 0 might help
I'm afraid i'm stumped on this one. I tried running through your source, and editing in what pip-pepping added, but I did'nt come up with the same result, it was still off-center for me. But if it works, it works! It could just be me. I tried quite a few other things to get it center, I spent an hour messing around, and still couldnt get it to align properly.
Your copy & paste code on your webgarden is incorrect; it has the border wrong. Thought you should know. Otherwise though, yay, another garden pot thingy!
@enflicted LOL I feel bad you're spending time helping me with my code man, but it is very much appreciated. It's not the end of the world that it's a little off center, but it is bother me a bit, gonna try some things!
Haha nah man don't feel bad, as I said i'm a code junky so I enjoy it, just sorry i couldn't get it to work, I must have tried 10 different ways and it just wouldnt budge!
Maybe it could be that in your webgarden pot, the tags have a slight margin around them, which puts the centering off-kilter? The margins are represented by the yellow border in this image (https://i.imgur.com/aVFtQyO.png) -- this was an issue for me at one point but setting the margins to 0 might help
Just tried it myself, setting the margins in the iframe document to 0 seems to have centered things out (https://i.imgur.com/gUid9kP.png)
Also be careful with the dimensions here 👀 (https://i.imgur.com/ltiZCJL.png) (Sorry for so many replies lmao)
@pip=pepping - no apology necessary, I greatly appreciate the knowledge and direction, thank you so much! Will implkement next update, cheers!
I'm afraid i'm stumped on this one. I tried running through your source, and editing in what pip-pepping added, but I did'nt come up with the same result, it was still off-center for me. But if it works, it works! It could just be me. I tried quite a few other things to get it center, I spent an hour messing around, and still couldnt get it to align properly.
Iframes can be a pain to mess with, is it possible to display these web gardens without an iframe, perhaps give it its own div class?
Your copy & paste code on your webgarden is incorrect; it has the border wrong. Thought you should know. Otherwise though, yay, another garden pot thingy!
@enflicted LOL I feel bad you're spending time helping me with my code man, but it is very much appreciated. It's not the end of the world that it's a little off center, but it is bother me a bit, gonna try some things!
@keysklubhouse - oh dang, thanks for the heads up!
Nope, fixing margins didn't work. Oh well. It's "quirky", I guess LOL
Haha nah man don't feel bad, as I said i'm a code junky so I enjoy it, just sorry i couldn't get it to work, I must have tried 10 different ways and it just wouldnt budge!