I'm using display tags in my jsp.I dont understand how can I change the background color of the page banner which displays the page links. Can anyone pls help me out in this situation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I'm using display tags in my jsp.I dont understand how can I change the background color of the page banner which displays the page links. Can anyone pls help me out in this situation.
If you mean this part of the displaytag html code:
<span class="pagebanner">37 items found, displaying 1 to 25.</span>
<span class="pagelinks">[First/Prev] <strong>1</strong>, <a href="..." title="Go to page 2">2</a> [<a href="...">Next</a>/<a href="...">Last</a>]</span>
Then you can use CSS to colour the spans:
span.pagebanner { background-color: red; }
span.pagelinks { background-color: green; }
Ed!