permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes how do you add a default css background color to all .jsp pages? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how do you add a default css background color to all .jsp pages?" Watch "how do you add a default css background color to all .jsp pages?" New topic
Author

how do you add a default css background color to all .jsp pages?

william chaple
Ranch Hand

Joined: Mar 08, 2013
Posts: 125
Hi I created something that looks like this below. Question is, how do I make it a default background color for all my pages // ec1 and ec2 and whats inside it?

rather then having to do




to every single folder I have



[css.JPG]

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61450
    
  67

Add the style rule to the styles.css file and then include it in each page with a <link> element in the <head> element.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Consider Paul's rocket mass heater.
 
subject: how do you add a default css background color to all .jsp pages?