[英]CSS for content alignment
I have a div tag with fixed width and height and I want another div tag positioned at the exact center of the parent div. 我有一个固定宽度和高度的div标签,我希望另一个div标签位于父div的确切中心。 I have tried margin=auto but it doesn't solve the problem.
我试过margin = auto但它没有解决问题。 Any pointers?
有什么指针吗? Thanks
谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.