用多种颜色更改网站的背景颜色. [英] Change the background color of website with multiple colors.

查看:99
本文介绍了用多种颜色更改网站的背景颜色.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我想将背景颜色设置为深绿色和白色混合.

我的徽标颜色是#197E46

因此,我需要将背景颜色设置为两种颜色的混合.(绿色和白色)
单击此网站. www.mofa.gov.sa 我需要和背景相同


请帮我,如何将多种颜色作为背景.


谢谢

Dear Friends,

I want to make the Background color as Dark green and White Mixing.

My Logo color is #197E46

So, I need to make the Back ground color as Mixing with two colors.(Green and White)
Chk this Website. www.mofa.gov.sa I need Same as it is background


Please help me, howa to do multiple colors as background.


Thanks

推荐答案


您提供的网站背景没有背景色.
它具有背景图像. 此处 [ http://blog.myfreetemplatehome.com/ [ ^ ]
http://jayce-o.blogspot.in/2012/01/12-best-online-website-builders-to.html [ http://www.5sec.com/ [ ^ ]
祝一切顺利.
--Amit
Hi,
The background of the website which you provided is not having background color.
It is having background image. Here[^] is the image of that website.
Follow the links below to have some interactive design in your website:
http://blog.myfreetemplatehome.com/[^]
http://jayce-o.blogspot.in/2012/01/12-best-online-website-builders-to.html[^]
http://www.5sec.com/[^]
All the best.
--Amit




您提供的网站具有(在body元素上)定义的白色背景和在此处定义的包含渐变的背景图像: ^ ].
此背景图像的宽度为1px,定义为repeat-x,因此它将水平重复.

这是使其在所有浏览器(包括IE6/IE7)上均可正常运行的安全方法.如果只想支持较新的浏览器,则可以使用CSS3渐变定义.

这是这种渐变的生成器(也包含IE6 +的"hack"): http://www.colorzilla.com /gradient-editor/ [ ^ ]

在这里,您可以看到它的用法:
http://jsfiddle.net/zhQAw/1/ [
Hi,

The website you provided have a white background defined (on the body element) and a background image containing a gradient defined here: http://www.mofa.gov.sa/MOFADesign/MOFA-Images/Bg_Html.jpg[^].
This background-image is 1px wide and is defined as repeat-x, so it will repeat itself horizontally.

This is the safe way to get it working on all browsers including IE6 / IE7. If you only want to support newer browsers, I would use CSS3 gradient definitions.

Here is a generator for such gradients (containing also a ''hack'' for IE6+): http://www.colorzilla.com/gradient-editor/[^]

Here you can see how this is used:
http://jsfiddle.net/zhQAw/1/[^]

Hope this helps.

Best regards and happy coding,
Chris


这篇关于用多种颜色更改网站的背景颜色.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆