Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

131
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda