Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I use different Style Sheets on different DIV Tags

 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a page with four DIVs. Each has a table in them. I want to have one of the tables in one of the DIV to be a smaller font. So I created two css files calling one out in the three JSPs that load in the DIVs and another to control the fourth JSP and DIV.

What happens is the fourth one changes all fonts to its settings.

How do I either get this to work or have one css to control two tables differently?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is what a class is for.

Eric
 
Steve Dyke
Ranch Hand
Posts: 1619
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Pascarello wrote:That is what a class is for.

Eric


Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic