Answers for "font in input box"

7

html text box

<!-- A <textarea> tag (better for multi-line text)-->
<textarea cols="4" rows="5">
Some text inside the text box.  
See https://www.w3schools.com/tags/tag_textarea.asp
</textarea>

<!-- An <input> type text tag (better for single-line text) -->
<input type="text" value="Some text inside the text box">
<!-- See https://www.w3schools.com/tags/att_input_type_text.asp -->

<!-- Using contenteditable (not recommended) -->
<p contenteditable="true">Some text inside the text box</p>
<!-- See https://www.w3schools.com/tags/att_global_contenteditable.asp -->
Posted by: Guest on October-19-2020
0

css style for form and table

table, th, td {
    padding: 1.5%;
    border: 1px solid white;
    text-align: center;
}

button{
    width: 100%;
    height: 100%;
    padding: 2px ;
    margin: 2px;
}

body {
    background-image: url(https://images.unsplash.com/photo-1574375927938-d5a98e8ffe85?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1949&q=80);
    height: 100%;
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: honeydew;
}

.h1-header, h1{
    text-align: center;
    width: 100%;
    height: 70px;
    font-size: 14px;
    padding-top:0px ;
}
h1 {
    font-size: 36px;
    font-style: italic;

}
.form1 {
    float: left;

width: 20%;
height: 300px;
margin: 150px 0 0 200px;
    background-color: #3a303099;

}
.form1 #form {
    color: honeydew;
    
}
form{
    padding: 50px;
    }
    

.table {
    width: 35%;
    margin: 150px 200px 0 800px;

}

table{
padding: 50px 120px;
}
Posted by: Guest on August-10-2020

Browse Popular Code Answers by Language