Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 12-08-2009
Member
 
Join Date: Nov 2008
Posts: 73
CSS Property For IMG

What are different image property of CSS Style? I want to cerate web page which display image in center and there are two to three images which display at bottom of the page.
Reply With Quote
  #2  
Old 12-08-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: CSS Property For IMG

To set background image :
Code:
 {
background-image:
url("")
}
</style>
To set background color :
Code:
h3 {background-color: transparent}
p {background-color: rgb(255,0,240)}
</style>
Reply With Quote
  #3  
Old 12-08-2009
Member
 
Join Date: Jan 2009
Posts: 199
Re: CSS Property For IMG

list-style-image : Selects a specific image to serve as a bullet in front of list items.The list-style-image property replaces the list-item marker with an image.
Code:
ul
{
list-style-image:url("/images/webl.gif");
list-style-type:rectangle;
}
Reply With Quote
  #4  
Old 12-08-2009
Member
 
Join Date: Dec 2008
Posts: 177
Re: CSS Property For IMG

It will display image in background as horizontally.
Code:
<style type="text/css">
body
{ 
background-image: 
url("");
background-repeat: repeat-x
}
</style>
This will display static background image :
Code:
<style type="text/css">
body 
{
background-image: 
url("/images/web.gif");
background-repeat: 
no-repeat;
background-attachment: 
fixed
}</style>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "CSS Property For IMG"
Thread Thread Starter Forum Replies Last Post
What is a Java property category? Viensterrr Software Development 4 22-01-2010 10:41 PM
Help needed in C# for Invoking a Property Deabelos Software Development 4 19-01-2010 07:33 PM
SelectionObject property rooki Software Development 3 30-11-2009 10:05 PM
Property reading problem in MSI Joko Software Development 4 12-06-2009 11:59 AM
Default property of datacontrol Pooja Software Development 2 28-02-2009 06:18 PM


All times are GMT +5.5. The time now is 09:52 PM.