I have an email type input inside a div, visible, but cannot access it, not selectable (cursor isn’t changing). I have another email input outside the div which is selectable. What might be causing this? This is the CSS
You probably have other elements on the page that have a higher z-index and are covering that element or could be a few other things. We’d need to see the complete set up.
You can try adding a high z-index just to see if that is the issue but otherwise we will need more code to debug properly
Bear in mind that stacking levels are controlled by the closest positioned ancestor (that has a z-index other than auto) so you may need to go back up the tree to find it.
(Beware of using absolute positioning in a fluid responsive environment as it needs to be tightly controlled.)
Use the inspect element feature of your browser’s developer tools to try and select your input. You’ll probably find it selects some other element that you have overlaying your input and thus preventing it from being focused.
No that will likely have nothing to do with the issue and you should never move things with relative positioning anyway (unless you fully understand the implications).
The answer will more than probably be that your element is under something else and can’t be clicked.
Did you try adding the z-index as mentioned.
If we could see the problem it could be fixed very quickly