html - What i did wrong in this css? -


in below image please take @ request form (inside green background) , it's aligned on top, instead need align in centered vertically

css style used ,

.rtitle { background-color: green; width: 300px; height: 50px; border-radius: 25px; font-size: 30px; padding-right: 10px; padding-left: 10px; text-align: center; font-weight: bold; } 

i need centered div style using css please help.

when use styling on button in center. other styling have this. or in html.

.rtitle {  background-color: green;  width: 300px;  height: 50px;  border-radius: 25px;  font-size: 30px;  padding-right: 10px;  padding-left: 10px;  text-align: center;  font-weight: bold;  }
<button class="rtitle">hello</button>


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -