首页 热点专区 义务教育 高等教育 出国留学 考研考公

网页设计中,想用自己的图片做背景来制作搜索框,怎么弄?还有怎么将原来...

发布网友

我来回答

1个回答

热心网友

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns=" http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>无标题文档</title> <style type="text/css"> <!-- .aaa { background-image: url( http://cache.soso.com/wenwen/i/w_logo.png ); height: 30px; width: 200px; background-repeat: no-repeat; background-position: center; } .bbb{ height: 20px; width: 50px; } --> </style> </head> <body> <form id="form1" name="form1" method="post" action=""> <label> <input name="aaa" type="text" class="aaa" id="aaa" /> </label> <label> <input name="Submit" type="image" class="bbb" value="提交" src=" http://cache.soso.com/wenwen/i/w_logo.png" /> </label> </form> </body> </html>

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com