Image Positioning.

fixing image positioning in a parrallax effect
18 Replies
???
???OP4mo ago
how do i paste my code for both html and css here?
ἔρως
ἔρως4mo ago
use jsfiddle or codepen to show the problem seeing the issue makes it possible for us to debug please, dont throw 50k lines of html and css
???
???OP4mo ago
yep thats why i asked
ἔρως
ἔρως4mo ago
just enough to show the issue you have
???
???OP4mo ago
the size of the image is 1310 x 933
ἔρως
ἔρως4mo ago
use a placeholder image, like https://placecats.com/1310/933
???
???OP4mo ago
you learn something new everyday
ἔρως
ἔρως4mo ago
placeholder services are pretty common there's also https://placehold.co/, which just does an image with text
???
???OP4mo ago
well heres the updated version i guess can you have a look wait is the image here ok?
ἔρως
ἔρως4mo ago
yes, it's fine by the way, don't use   as a space that's the worst anyone can do even the devil wouldn't do such a thing to his enemies
???
???OP4mo ago
damn is this taboo in the html community should i use <span> i just needed 1 space tbh
ἔρως
ἔρως4mo ago
just use a space and no, it's not taboo it's the wrong character i can't even imagine what a visually impaired would hear from that, with a screen reader
???
???OP4mo ago
right
ἔρως
ἔρως4mo ago
just a space will do it
???
???OP4mo ago
it wasnt enough
ἔρως
ἔρως4mo ago
in fact, you can put as many spaces as you wish, and it will show as 1 space it works for me

Did you find this page helpful?