Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在为我的网站制作一个启动页面,并且需要有关我想在主文本下方运行的边框的帮助,该主文本将以页面为中心。在我将边框设置为 800px 的那一刻,它与上面的文本保持左对齐,所以它不均匀。我是 CSS 新手,感谢您提供任何帮助。这是我的代码:
#logo { width: 800px; position: relative; top: 150px; left: 250px; border-bottom: 1px solid white; }
尝试这个:
#logo { display:block; /* Unless it already is */ width: 800px; margin: 100px auto; border-bottom: 1px solid white; }
Base entity interface is IEntity which requires only "object ID {get;set;}" to be implemented. Now, in almost every case ID is of Guid type (except for membership etc). I am using followi