html - DIV center align -


I have a div, which has an alliance with all the content centers:

  & lt ; Div align = "center" & gt; & Lt; Table & gt; & Lt; Tr & gt; & Lt; Td> .....  

But alignment is not a more valid feature, therefore, I have changed to class or genre:

  

But this is not the same as before. The table is now aligned to the left and not for the center. Clear text-alignment is not equal to the old center feature. How do I write style to get the same functionality as the first with the middle attribute?

simply margin: 0 auto your table Centered on

View


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -