The problemImagine you have aspan that contains some text, which you want to replace by an image. For instance, the page navigation bar of the datatable looks like:Imagine you want to replace the "< prev" by an image. The text is inside a span with the class yui-pg-previous:<span class="yui-pg-previous">< prev</span>The solutionUsing the following CSS, you can "replace" the text by an image:.yui-skin-sam .yui-pg-previous { background-image: url('../../apps/fr/style/images/silk/resultset_first.png'); background-repeat: no-repeat; width: 16px; height: 16px; overflow: hidden; line-height: 4em;}.yui-dt-paginator span { vertical-align: middle }
|

