• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What Is class="input"?

 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw this piece of code (see below) in a struts application.

The second part is HTML equivalent of

But, what is <class="input">? What is its HTML equivalent?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
class input references a style sheet class where the layout of this
table field is defined.
This is not Struts related, just standard HTML.
[ September 24, 2003: Message edited by: Oliver Refle ]
 
Junilu Lacar
Bartender
Pie
Posts: 7465
50
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to HTML forum
 
JiaPei Jen
Ranch Hand
Posts: 1309
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

class input references a style sheet class where the layout of this
table field is defined.

Sorry, I still do not understand. The style sheet is called base.css. I do not see the way in which

relates to the style sheet. The content of the style sheet is shown below:
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here it is, plucked from your stylesheet:

That "td.input" means "apply this to elements of type "td" of class "input".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic