使用预加载的图像创建表单 [英] Creating a form using preloaded image

查看:90
本文介绍了使用预加载的图像创建表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个jpeg格式的表单。我用html创建一个表单。现在我想将html表单的值放在jpeg图像格式的jpeg图像格式的确切位置上。



我尝试过:



例子

假设我想创建学校标记表。 markshet是jpeg格式,我插入到html页面。现在我创建了一个只有主题值的html表单。现在,当我点击表单的提交按钮时,它会重定向该html页面,并将表单的值放在标记表上正确的位置。我怎么能创造这个。请帮帮我。

I have a form in jpeg format. I create a form using html. now I want to put the valu of html form to the jpeg image format form on their exact position of the jpeg image format.

What I have tried:

example
suppose I want to create a school marksheet. the markshet is in jpeg format which I insert to an html page. now I have created a html form which only have the value of subject. now when i click submit button of the form it redirect that html page and the valu of the form put on the marksheet on their correct position. how can I create this. Please help me.

推荐答案

在HTML中,如果你想在某个特定位置放置一些内容,那么你需要使用CSS属性,如:

In HTML if you want to put some content on a specific position then you need to use CSS property like:
position:absolute; 



然后找到顶部坐标图片中的内容。我假设一些坐标如:


and then the find the left and top coordinates of the content in the picture. I assume some coordinates like:

left:20px;
top:50px;





通过这种方式你可以得到结果..



In this way you can get the results..


这篇关于使用预加载的图像创建表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆