如何更改背景图片? [英] How to change background Image?

查看:118
本文介绍了如何更改背景图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更改此背景图片


更正了链接的URL.

Change Background Image of this


EDIT : Corrected the URL for the link.

推荐答案

问题尚未解决,但我猜是什么.
实际上,图像用作DIV的背景.您可以通过更改背景属性的值来更改图像.
代码在下面提到的页面中.
STYLE div.background 类中更改背景属性值.

In-completed question, but i guess something.
Actually Image is used as background for DIV. you can change the image by changing the value for background property.
The code is below from the page which you have mentioned.
change the background property value in div.background class in STYLE.

<style type="text/css">
div.background
{
  width: 600px;
  height: 300px;
  background: url('http://www.islamabadid.com/wp-content/uploads/2010/05/Faisal-mosque-Islamabad.jpg') ;
  border: 2px solid black;
}</p>
<p>div.transbox p
{
  margin: 30px 40px;
  font-weight: bold;
  color: #000000;
}
</style>
<p></head><br />
<div class="background">
<div class="transbox">
<p> To View Jobs in Pakistan . Jang Jobs , Jang Advertisement Please visit  <a href ='http://www.islamabadid.com/jang-news-paper-jobs-list/'> Jobs in Pakistan Jang Jobs</a></p>
<p>FM 100 Islamabad is people-centered media outlet that believes in preservation and respects for varied culture, languages and traditions, in this way it tries to institute non-violent society and diversified Pakistan.  Following the democratic and participatory approach to development and change, FM 100 Islamabad believes that all development and change should be democratic so that people should own it.</p>
<p>As Compared with public relations, FM 100 Islamabad Behavior Change Communication (BCC) &#038; advocacy is more focused on pro-people policy goals for a dynamic social change to make a difference!  Our effective and result-laden media campaigns use a more decentralized, community based, and community sensitive BCC models tested around the world!   FM 100 Islamabad communication policy focuses on the social forces that shape collective behavior and policy—rather than personal behavior. Our goal is to ensure attaining a more sweeping and lasting behavioral change in society at large.
</p></div>
</div>
<p>Listen To FM 100 Islamabad Pakistan , The World Largest and Most viewable channels in pakistan , FM 100 islamabad officaily know as FM 100 have largest user over internet .<br />
<h2>FM 100 Islamabad</h2>
<p>,fm 100 islamabad live, FM 100 islamabad radio,  Listen To FM Radios Pakistan<br />
For More information visit www.islamabadid.com/</p>
<p>Listen To The most veiwable and usable channel in pakistan , Listen to Music , Comedy , Health tips at FM 100 Islamabad</p>
<p>Listen To FM 100 Islamabad Pakistan </p>
                </div>
            </div>


这篇关于如何更改背景图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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