-
Book Overview & Buying
-
Table Of Contents
Learning Splunk Web Framework
By :
As we discussed earlier in this chapter, another way in which you can use CSS is by specifying the style as part of your header within the html code itself. This also is not the most efficient way of using CSS as it means that you would need to add the style block to all the pages that you would like to look the same.
Personally, I like to use internal style sheets to establish a set of styles that I am happy with and would like to implement across a number of pages. Once I can verify that I have all my styles working as they should be, I then move these rules into an external CSS file. This is what we are going to do with our example to show you how Splunk Web Framework allows you to define both internal and external style sheets within your Splunk dashboards. In the next part of this chapter, we will set up internal style rules where we will set up a menu for the dashboard that will sit on the right side of our dashboard screen. We will then...