Control the look of the "No documents found" message

Jake Howlett, 12 October 2000

Category: Views; Keywords: CSS Style

Are you fed up with having made your site look really nice only to be shocked when you open a view and the, ugly looking, "No documents found" message stares back at you?

Image

Now, assuming you are using templates to display your views ($$ViewTemplate for name), you can apply a stylesheet to over-ride the above.

Domino uses the <h2> tag to display the above message, so all you need do is redefine this using CSS. Do this by placing something like the following in to the header of your form (or place it inside the .css file that you include):

<style type="text/css">
<!--
H2 {
color : #FFFFFF;
font : normal 10pt Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>


The message will then appear a little more pleasing to the eye, as below:

Image