Page 1 of 1

CSS link to update since Studio upgrade

Posted: 22 June 2013, 23:12
by semeno
Hi,

Following Studio upgrade, I made a mistake as I overwrote the files you have changed before copy-paste them first.
I tried to find back all the changes you made from reversi example, but I can't figure out all of them.

The game seems to work properly, just the CSS which doesn't work so far as I get a raw html although I changed the CSS link from:
@import url(../csslayer.css);
to
@import url(../../../css/csslayer.css); like in the new reversi

And I changed my pictures links as well from:
background-image: url('../../img/reversi/board.jpg');
to
background-image: url('img/board.jpg');

Could you tell me please what are the rights links?

Thanks in advance for your help

Re: CSS link to update since Studio upgrade

Posted: 23 June 2013, 06:47
by pikiou
I have the same code for the import and images:

Code: Select all

@import url(../../../css/csslayer.css);
background-image: url('img/sprites.png');
So it might be something else.

Re: CSS link to update since Studio upgrade

Posted: 23 June 2013, 08:49
by semeno
Thanks for your quick answer!
It works back. I was probably too tired and I must have mixed different versions together with the css link not updated...
I do confirm that the new code works well