Css Issue

You must Login before you can answer or comment on any questions.

.blue-info-bar { color: #fff; height: 50px; background: url(../images/ui/blue-info-bar-background.png); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); position: relative; }
On the iPhone this class works fine, but on Andriod, I can't access the images folder? Is there a way to do this. I am currently using app.css to add a global style sheet to the app.

— asked 8 months ago by Steven Marshall
1 Comment
  • Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 8 months ago by Stephen Feather

1 Answer

Try

url(app://images/ui/blue-info-bar-background.png)
PS.not tested

— answered 8 months ago by Dan Tamas
answer permalink
3 Comments
  • Hi Dan

    Worked it out.

    .blue-info-bar { color: #fff; height: 50px; background: url(./images/ui/blue-info-bar-background.png); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); position: relative; }
    Just needed to use single dot. Not sure why, might be bug, but works for both iPhone, and Andriod.

    — commented 8 months ago by Steven Marshall

  • and the app:// stuff ?

    — commented 8 months ago by Dan Tamas

  • doesnt work

    — commented 8 months ago by Steven Marshall

Your Answer

Think you can help? Login to answer this question!