1

I've been trying to build this CSS layout for a while now. I am trying to make this:

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

And I can not even get the first step done of putting the blue bar at the top of the screen. But any help would be much appreciated.

I also found this:

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

give me the color codes but please any help would be appriated I'm watching tutorials like crazy but I have a wired dead line for this

4

1 回答 1

0

说到CSS,我很清楚

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

而且我什至无法完成将蓝条放在屏幕顶部的第一步

您的“白色标题”文本和“注册”按钮位于某物内:在您的 HTML 中,让“某物”成为一个<div>元素。

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

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

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

那是因为我使用图像作为背景,将这些线条放在背景上。如果您想要一个简单的纯色背景色,那么您可以简单地使用background-color属性。

于 2012-11-18T02:40:00.147 回答