html - Can't center the UL tag -
How do I center this I tried everything but I know nothing but (). Note: See it in fullscreen. See the Not sure that this is what you want to see but want to keep an eye on Anyway what I did and by changing I deleted Tell me if you have any questions Cheers! ul tag?
ul list in the center of this fieldet.
& lt; Ul id = "progressbar" & gt; & Lt; Li class = "active" & gt; The first step & lt; / li & gt; & Lt; Li & gt; The second step & lt; / li & gt; & Lt; Li & gt; The third step & lt; / li & gt; & Lt; / Ul & gt;
ul {width: 1000px} :
ul {margin: auto auto; Text align: center; Status: Relative; }
#progressbar li :
#progressbar li {list-style-type: none; Color: #fff; Change text: uppercase; Font-size: 9px; Width: 30%; Cushion Top: 10px; display: inline-block; Status: Relative} << code>
float: left ,
display: inline-block was added,
width < / Code> to
width: 30%
Comments
Post a Comment