Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: CSS book-reviews
Change Background Image of this
 

EDIT : Corrected the URL for the link.
Posted 1-Jun-10 19:11pm
Edited 1-Jun-10 22:28pm
thatraja242.6K
v4
Comments
Prakash Kalakoti at 2-Jun-10 0:49am
   
Can you provide more details what exactly you are looking for?
Sandeep Mewara at 2-Jun-10 2:09am
   
Reason for my vote of 1
1. Link is broken
2. Question not properly formulated

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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>
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 200
1 PIEBALDconsult 150
2 BillWoodruff 148
3 Jochen Arndt 135
4 DamithSL 130
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,190


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 2 Jun 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100