3 clickable icons in form
Place to talk about website HTM elements, CSS style and design, and get help with HTML, CSS codes.
-
JanMolendijk
- Posts: 199
- Location: Holland Rotterdam
3 clickable icons in form
I want to moderate my textboxes with icons
for this i have this script but i can`t place 3 icons
meight you could support me... how to do
Code: Select all
<style type="text/css">
#form1 div{
position:relative;
width:400px;
padding:5px;
border:1px solid #000;
overflow:hidden
}
#form1 label{
float:left;
text-align:right;
width:80px;
padding:0 20px;
}
#form1 input{
width:200px;
padding:5px 40px 5px 5px;
float:left;
}
#form1 a{
float:left;
margin:2px 0 0 -32px;
text-decoration:none;
width:30px;
height:25px;
background:transparant;
position:relative;
z-index:99;
}
#form2 a{
float:left;
margin:2px 0 0 -32px;
text-decoration:none;
width:30px;
height:25px;
background:transparant;
position:relative;
z-index:99;
}
</style>
</head>
<body>
<form id="form1" id="form2" method="post" action="">
<div>
<label for="text">Enter text:</label>
<input type="text" name="text" id="text" />
<a href="http://www.pmob.co.uk"><img src="http://145.53.93.209/Comments/user/icos/6.gif" border="none"></img></a>
</div>
</form>
</body>
</html>
Admin
Sorry, I not understand what you want to do.
For what you want the icons, and way you can't place more icons?
Also, the code is wrong. In a html element you may add a single id attribute only.
JanMolendijk
I found an answer to work with classes
Similar Topics
-
mysql not insert data from form
PHP - MySQL
First post
i have two php files:
the index.php ---
<?php
$id = 3 ;
if(!empty($_POST )) {
$conn = mysql_connect( localhost , website_rent , password...
Last post
I not know way it not works; maybe data from the resulted sql query is not ok for that mysql table structure.
If there is no message with errors,...
-
Select in mysql table with password from form not work
PHP - MySQL
First post
hello,
i have a problem with this code:
if(isset($_POST ))
{
$txt_login= mysqli_real_escape_string($con,$_POST );
$txt_pass=...
Last post
thank you for your help.
i can find this problem!
it was a space line in user_password=' $hashed_password' in register code.
all of the passwords...
-
Adding HTML content from javascript /iQuery into a form
JavaScript - jQuery - Ajax
First post
For day`s i`m busy to improve my comment system
& no I`m ready to place a url extractor but I hope
you can support me by this-one....
I want...
Last post
It depends where you want to add the html content from javascript in the form, on the beginning, or at the end after other elements.
Se the: 2....