Results 1 to 2 of 2
Thread: 100% background in IE
-
01-07-2012, 11:24 PM #1
Sophomore
- Join Date
- Jul 2010
- Posts
- 59
- Thanks
- 0
- Thanked 0 Times in 0 Posts
- Feedback Score
- 0
100% background in IE
Hi guys,
I am building a website where the background picture should be resized 100% of thhe scrren size
It is working in Chrome,Firefoz,Safari but not in IE.
Do you know how I can do this ?
my CSS code is
Thanksbody {
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
height: 100%;
width: 100%;
background: url(images/backgrounds/portfolio-highshots.jpg);
-moz-background-size:100% 100%; /* Firefox 3.6 */
background-size:100% 100%;
background-repeat:no-repeat;
backgroun-origin: border-box;
}
-
01-08-2012, 07:45 PM #2
Freshman
- Join Date
- Jan 2012
- Posts
- 10
- Thanks
- 0
- Thanked 1 Time in 1 Post
- Feedback Score
- 0
Try this:
Code:html { background: url(image.jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
Similar Threads
-
background image
By slanluc in forum HTML / DHTMLReplies: 5Last Post: 12-12-2011, 06:23 AM -
Background trick
By slanluc in forum Graphics Design & Web DesignReplies: 1Last Post: 08-27-2011, 10:32 PM -
Is it possible to customize your background, add image to your background in Facebook?
By alodia in forum Social Network MarketingReplies: 5Last Post: 02-15-2011, 12:46 AM -
Background image
By shannonpaul2 in forum Search Engine OptimizationReplies: 1Last Post: 10-19-2010, 04:56 AM -
BackGround Designer
By Amit.Verma in forum Graphics Design & Web DesignReplies: 6Last Post: 07-20-2008, 08:21 AM


Reply With Quote

