How To Set Cell Background Image In Iphone?

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

Was this solution helpful to you?

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:

Just Added Q & A:

Find solution

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.