Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

130
Visualizações
How Can I Place Input Fields Onto Specific Spots On An Image?

How Can I Place Input Fields Onto Specific Spots On An Image?

I'm looking to figure out a way to bind input fields to an image in specific locations. These locations would be parallels to icons on the image. This would be a way to be a visual guide to users looking to enter the width, height and length of an object. It must also adapt to various screen sizes.

I looked into the html 5 function of an image map. I believe using, "margin-top" and "margin-left".ect in css with classes I could plop items in the right places on my screen, but, the idea would be to place these items in the same area on screens with different widths and heights. This would not be possible with negative margins / padding as it would look strange on screen sizes other than my own.

I know with pixel mapping someone can place a link in a certain area of an image or trigger a script in a certain area of an image. Is it possible to give an input field an id or class and then place that input field onto the image with javascript or something? Maybe like get a copy of the screen dimensions and then transpose it after the fact. Another idea would be to move it there after the dom load with an animation or a transition in css.

Is there some way to use the image map functionality in html5, along with css @media sizes, to do this or is there some other method that would make this a cakewalk?

enter image description here

about 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda