File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

css class working

 
Aggarwal Arpit
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain me the function of this div tag

<div class="body p ">

Thanks in Advance
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea. It would depend on what the definitions are in the CSS for .body and .p. Honestly, it's pretty horrible to name css classes the same as actual HTML elements.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Explain what? It is a div with two classes. [Poorly named classes in my eyes]

Eric
 
Matthew Brown
Bartender
Posts: 4549
8
Java Netbeans IDE Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's just a container with a couple of classes assigned to it. There's no standard meaning beyond that - it depends on your application. What do those classes mean in your app?
 
Aggarwal Arpit
Ranch Hand
Posts: 86
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes these are two seperate css classes having code as:

.form div.body{
color:#555556;
height:412px;
padding:0 22px;
overflow-y:auto;
overflow-x:hidden;
}

.p{
height:345px !important ;
}
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, well what's the question then. Somebody defined those classes (with very bad names, as already pointed out) in order to apply those CSS properties. Nothing more than that.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic