上面的链接页面对齐
谁知道如何获得您的链接以坐在背景图像和页面内容的顶部,而不是页面旁边的内联。
示例:关于联系等的家。 在那之下:页面的其余部分。背景和页面内容。
目前,我的链接就在页面的左侧,旁边是背景和页面内容。
我该如何解决?
Does anyone know how to get your links to sit on top of your background image and page contents rather than inline next to your page.
Example: Home About Contact etc.
under that: The rest of the page. The background and the page contents.
Right now as it stands my links are in line to the left side of the page and right beside it is the background and page contents.
How do i fix that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您可以使用“ Display:Inline-Block”将Navbar中的链接保持在同一条线上,然后使用垂直对齐或“ valign:top”将链接对齐到页面顶部。
i assume you could use "display: inline-block" to keep the links in the navbar on the same line, and then use vertical-align or "valign:top" to align the links to the top of the page.