gpt4 book ai didi

CSS 布局问题

转载 作者:太空宇宙 更新时间:2023-11-03 18:56:09 24 4
gpt4 key购买 nike

一段时间以来,我一直在尝试构建此 CSS 布局。我正在努力做到这一点:

http://tinypic.com/r/29xx9ps/6

而且我什至无法完成将蓝色条放在屏幕顶部的第一步。但我们将不胜感激。

我还发现了这个:

What is the hexadecimal code of the "blue" background color of Facebook?

给我颜色代码,但请提供任何帮助我正在疯狂地观看教程,但我对此有一个有线死线

最佳答案

I am oblvious when it comes to css

到时候你可能需要学习一下。我建议您从 http://www.w3.org/TR/CSS21/selector.html 开始和 http://www.w3.org/TR/CSS21/propidx.html

And I can not even get the first step done of putting the blue bar at the top of the screen

您的“Title WHITE”文本和“Sign Up”按钮位于某物内:在您的 HTML 中,让该“某物”成为 <div>元素。

例如,如果您在我的网页 http://www.modeltext.com 上执行“查看源代码”你会看到我有一个 <div id="HEADER">元素。

我的 CSS 在 http://www.modeltext.com/images/styles.css指定:

#HEADER
{
background-image: url(bg_main.gif);
background-repeat: repeat-x;
background-position: bottom; }

那是因为我使用图像作为背景,以便在背景上显示这些线条。如果你想要一个简单的纯色背景,那么你可以简单地使用 background-color属性(property)代替。

关于CSS 布局问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13436852/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com