This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring 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: 1616
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: 1616
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