Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

how to center placeholdr text

input[type="text"]::placeholder {  
                  
                /* Firefox, Chrome, Opera */ 
                text-align: center; 
            } 
/*Must include type="text" in HTML*/
 
PREVIOUS NEXT
Tagged: #center #placeholdr #text
ADD COMMENT
Topic
Name
7+5 =