Home > Not Working > Firefox Background-size Not Working

Firefox Background-size Not Working


Notes If you are specifying a gradient as background and have specified a background-size to go with it, it's best not to specify a size that uses a single auto component, How many seconds are a meter in the 4th dimension? I have this problem a lot - everything appears to be exactly the same as directions - I even copy and paste directions after retyping 10 times - still won't let It's working fine in webkit (Chrome & Safari) but the "-moz-background-size" property is not working at all in Firefox. http://win8s.com/not-working/fixed-background-not-working-on-iphone.html

The order of the CSS properties. both the images width or height are equal to or exceed the background positioning area. If I do, i'd use em. What is a good alternative to it? 3.

Background-size Cover

Here's my code: @media screen and (max-width: 1150px) { /* special sytles for browser windows less than 1150px */ body{ -o-background-size: 130%; -webkit-background-size: 130%; -khtml-background-size: 130%; -moz-background-size: 130%; background-size: 130%; } Did Trump call Belgium a village in Europe? Further reading on the background-size property may be found in section 3.9 of the CSS3 Backgrounds and Borders specification here.

The production version of the site: http://anasmadance.com.s66112.gridserver.com/ Here's my code: @media screen and (max-width: 1150px) { /* special sytles for browser windows less than 1150px */ body{ -o-background-size: 130%; -webkit-background-size: 130%; The element below has three background images specified, with differing values for background-size for each image. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Background Size Not Working In Chrome If you haven’t previously confirmed a subscription to a Mozilla-related newsletter you may have to do so.

Click here to learn more. Background Position All Rights Reserved. Specifications Specification Status Comment CSS Backgrounds and Borders Module Level 3The definition of 'background-size' in that specification. We do this just to make sure that it work in most of the browsers.

An example of it is:  #background { background-size: cover; } But for some reason, it worked in Firefox and Safari (I didn't try it on explorer but I hope it dies Css Background Image Size To Fit Screen cheers, gary If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Top User login Log in using Designers can choose to either supply one or two lengths, percentages or auto keywords, or use the contain keyword, or the cover keyword. I am sorry I missed the FF version while reading your question. –Nitesh Jun 8 '14 at 10:46 Umm, two things. 1.

Background Position

I think the best way to proceed is to try and create a simple test case - just a simple page with only the background image - and see if the It works in Safari and Chrome - changing it back to 130% in Firefox now. –Brian Jan 18 '11 at 1:43 1 @Brian OK, one mystery cleared up then! Background-size Cover Skip to main content EdWu Toggle navigation About Links Blog Codetastrophes Projects Reads background-size cover css attribute not working on chrome I was recently working on trying to make the resizable Background Size Cover Not Working If the contain keyword is used, the background image is scaled, while preserving the image's original proportions / aspect ratio, so as to be as large as possible providing that it

Note that background sizing for vector images that lack intrinsic dimensions or proportion is not yet fully implemented in all browsers.  Be careful about relying on the behavior described above, and http://win8s.com/not-working/firefox-url-bar-not-working.html share|improve this answer answered Jan 24 '11 at 15:43 achairapart 1,9242027 1 I think it's because -moz-background-size on body is getting overridden by the more specific .page-id-7, .... { background:url("images/bg-beach.jpg") Always validate your markup and css before trying to debug. Internet Explorer Microsoft Internet Explorer 9.0+ offers full support for the background-size property. Css Background Shorthand

Sign up now Thanks! Googled this issue a lot of times, but no one else seems to have this problem. Imagine having a big SQUARE dog face image as a background with background-size: 100% 100%; and use that site on a 16:9 monitor. this contact form If the background-size is auto or auto auto: If the image has both intrinsic dimensions, it is rendered at that size.  If it has no intrinsic dimensions and no intrinsic proportion,

The UA must scale the image in that dimension (or both dimensions) so that it fits a whole number of times in the background positioning area. Css Background Size Shorthand Code Tags:csschromeView the discussion thread. In the second box background-size has been set to 275px (w) x 125px (h).

Do you have a link to a page that actually demonstrates the problem?

Example D Here's the code: background-size: 200px 200px; Example E Our next example uses percentages to define background-size, in this case specified as 50% (w) and auto (h), therefore the background On Firefox browsers of course. What power do I have as a driver if my interstate route is blocked by a protest? Background Fixed Join them; it only takes a minute: Sign up CSS - background-size: cover; not working in Firefox up vote 0 down vote favorite 1 body{ background-image: url("./content/site_data/bg.jpg"); background-size: cover; background-repeat: no-repeat;

Thanks. –Art Geigel Sep 19 '14 at 17:07 developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_propertie‌s take a look at the Tricky Edge Cases –hudidit Feb 23 at 2:24 | show 1 more comment up vote Except the image wasn't showing up at all in Firefox 30+.  However if I switched it to something like "background-size: 1024px 800px" that would actually show the scaled image.  After searching Note: SVG images have a preserveAspectRatio attribute which defaults to the equivalent of 'contain'. http://win8s.com/not-working/firefox-tab-not-working.html As in example I above, the aspect ratios of the image and containing element don't match, however as background-size has been set to cover, this time the entire background positioning area

Does the Rothschild family own most central banks? "The Blessed One", is it bad translation? more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation