0

How can i align center progress bar ?

9th Apr 2020, 10:59 AM
bonze 06
bonze 06 - avatar
5 Answers
+ 1
setting its align attribute too... if there's text aside the progress bar, then it need to have a dedicated container ;)
9th Apr 2020, 12:50 PM
visph
visph - avatar
0
By setting to its block parent the css property 'text-align:center;'
9th Apr 2020, 12:38 PM
visph
visph - avatar
0
You can wrap the <progress> in a <div> whose 'align' attribute set to "center".
9th Apr 2020, 12:44 PM
Ipang
0
presentation attributes as 'align' are obdolete/deprecated in html5: it's strongly recommended to rather use css ^^
9th Apr 2020, 12:46 PM
visph
visph - avatar
0
Setting CSS 'text-align' to center will center the text aside from the progress bar
9th Apr 2020, 12:48 PM
Ipang