如何在CSS中将标签块完全重新定位在主页顶部红色圆圈部分的位置?
我想将屏幕截图中可见的关键字“美丽、商业、城市、Macbook、世界”定位在“主要故事,编辑推荐,热门故事”位于以下屏幕截图中红色框部分的级别: 。
也就是说,我想将小部件 CSS 类 widget_block widget_tag_cloud 的内容移动到以下屏幕截图中红色框的部分:。
我尝试在浏览器的 HTML-CSS 代码检查器中的类 widget
上添加 margin-bottom: 121px;
以查看渲染效果,但它完全改变了页面。
因此,我请求您帮助我重新定位 CSS 类内容为 widget widget_block widget_tag_cloud
的标签,并将它们放置在顶部,就在“主要故事、编辑精选、趋势”块上方故事”,更准确地说是屏幕截图中红色圈出的部分:。
先感谢您。
I would like to position the block of Keywords "Beautiful, business, Cities, Macbook, World" visible on the screenshot just above "Main Stories, Editor's Pick, Trending Stories" at the level of the part framed in red on the following screenshot: .
That is to say that I would like to move the content of the widget CSS class widget_block widget_tag_cloud to the part framed in red on the following screenshot:.
I tried adding a margin-bottom: 121px;
on the class widget
in the HTML-CSS code inspector of the browser to see the rendering but it completely shifted the page.
I therefore request your help to help me reposition the Tags whose content of the CSS class is widget widget_block widget_tag_cloud
and place them at the top, just above the block "Main Stories, Editor's Pick, Trending Stories" and more precisely on the part circled in red on the screenshot:.
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,我已经检查过你的问题。解决方案就是你可以像下面的代码一样在jquery上使用inserBefore。
之后,您可以添加以下样式。所以我希望你能得到你想要的
Yes, I have checked your issue. And the solution is just you can use the inserBefore on jquery like the below code.
After that, you can add the below style. So I hope you can get exactly what you want