hi
How do i make a padding for an input text box form element?
thanks in advance.<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
input{
padding: 2em;
}
</style>
</head>
<body>
<form method="post" action="#">
<input type="text">
<input type="button" value="Send">
</form>
</body>
</html>mmm...
What i wanted was to make a space beetwen the form elements and other elements like text.
I included an image to illustrate what i want.i fail to see any difference!i fail to see any difference!
oops. i edited it already.<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
input{
margin: 0 2em;
}
</style>
</head>
<body>
<form method="post" action="#">
<input type="text">
<input type="text">
</form>
</body>
</html>Thanks You're welcome, but, you gotta post clearer question if you want correct answers
How do i make a padding for an input text box form element?
thanks in advance.<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
input{
padding: 2em;
}
</style>
</head>
<body>
<form method="post" action="#">
<input type="text">
<input type="button" value="Send">
</form>
</body>
</html>mmm...
What i wanted was to make a space beetwen the form elements and other elements like text.
I included an image to illustrate what i want.i fail to see any difference!i fail to see any difference!
oops. i edited it already.<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
input{
margin: 0 2em;
}
</style>
</head>
<body>
<form method="post" action="#">
<input type="text">
<input type="text">
</form>
</body>
</html>Thanks You're welcome, but, you gotta post clearer question if you want correct answers