Image Positioning.

fixing image positioning in a parrallax effect
18 Replies
???
???OP5mo ago
how do i paste my code for both html and css here?
ἔρως
ἔρως5mo 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
???
???OP5mo ago
yep thats why i asked
ἔρως
ἔρως5mo ago
just enough to show the issue you have
???
???OP5mo ago
the size of the image is 1310 x 933
ἔρως
ἔρως5mo ago
use a placeholder image, like https://placecats.com/1310/933
???
???OP5mo ago
you learn something new everyday
ἔρως
ἔρως5mo ago
placeholder services are pretty common there's also https://placehold.co/, which just does an image with text
???
???OP5mo ago
well heres the updated version i guess can you have a look wait is the image here ok?
ἔρως
ἔρως5mo 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
???
???OP5mo ago
damn is this taboo in the html community should i use <span> i just needed 1 space tbh
ἔρως
ἔρως5mo 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
???
???OP5mo ago
right
ἔρως
ἔρως5mo ago
just a space will do it
???
???OP5mo ago
it wasnt enough
ἔρως
ἔρως5mo 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?