Hi, if that is the exaxt code, then it is a CSS issue and not Cake.
In the line
  #cboxClose{right:0; background-position:-100px -25px;}
you forgot to specify the image. url() is missing.

hth

[2011-07-26 00:27] - shk_bud a écrit / schrieb :
Hi folks,
I can't understand why a PNG file can't be splitted. That is, I have a
PNG file which has some icons, and these icons are used with CSS
selectors. For example, I have a this selector:

#cboxPrevious, #cboxNext, #cboxClose,
#cboxSlideshow{position:absolute; bottom:-29px; background:url(img/
controls.png) no-repeat 0px 0px; width:23px; height:23px; text-
indent:-9999px;}
#cboxClose{right:0; background-position:-100px -25px;}

In this example, I've tried to use the #cboxClose, which background-
position is defined and so on. However, in my html file:

<div id="cboxClose">close</div>

No close image button was displayed!
[...]

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to