HTML: How can I set an background image to be the full size of the in IE?
-
The following works fine in Chrome, but not in IE: <td width="617px" height="600" background="images/myphoto.jpg" STYLE="background-repeat: no-repeat; background-size: 100%;"> I want to set it as a background so that I can set a table over it with text. If I use: background-size: cover, then Chrome gets screwed up but IE works. Any ideas? Thanks in advance
-
Answer:
"background-size: cover" is invalid in some brosers: background-size: cover; -moz-background-size: cover; /* mozilla */ Try: <td style="width: 617px; height: 600px; background: url(images/myphoto.jpg) no-repeat; center scroll;"> Image must be the size of the cell or use a tiled image. See CSS 3 for more options for setting background sizes. Ron
midnight at Yahoo! Answers Visit the source
Other answers
"background-size: cover" is invalid in some brosers: background-size: cover; -moz-background-size: cover; /* mozilla */ Try: <td style="width: 617px; height: 600px; background: url(images/myphoto.jpg) no-repeat; center scroll;"> Image must be the size of the cell or use a tiled image. See CSS 3 for more options for setting background sizes. Ron
Shadow Knows
Related Q & A:
- How do I add a background image to my JFrame?Best solution by Stack Overflow
- How can I print a big image on 4 sheets A4?Best solution by Yahoo! Answers
- On photobucket how can I change the background of a picture?Best solution by Yahoo! Answers
- How can I get my background settings back?Best solution by ChaCha
- How do I make a background image full page with CSS?Best solution by stradegyadvertising.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.