Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Center input element css

<html>
<head>
    <style>
        div.wrapper {
            width: 300px;
            height:300px;
            border:1px solid black;
        }

        input[type="range"] {
             display: block;
             margin : 0 auto;
        }

    </style>
</head>
<body>

    <div class='wrapper'>
        <input type='range' name='1-10' value='5' min='1' max='2' />
    </div>    


</body>
</html>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Center #input #element #css
ADD COMMENT
Topic
Name
2+3 =