I have tried every possible method to center my logo div but no luck. I even ended up going back to old school align="center" but no luck.
Please help - http://rezaee.me/kel/
Cheers
尝试删除position: fixed
已从#logo
声明中position: fixed
。
Just remove position: fixed;
from your CSS for #logo
.
不要定位:固定
摆脱position:fixed
,这会很好的:)
I don't think removing position fixed is enough. Remove all css and try this
Make your logo an img tag instead of a background, then use margin-left:50%; margin-right:50%; width: (width of img);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.