CSS for minimum table height

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Whats the css to apply min-height to a table? I'm trying this, which works in the console, but can't get it to work when included as a css resource in the page:

#Table .nx-skootable {   
      min-height: 250px;
}
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,026 Points 20k badge 2x thumb
If "Table" is the CSS class you added to your table in the advanced tab of its properties,  then you need to use the following syntax in the resource: 

.Table .nx-skootable {    
      min-height: 250px;
}


The "#" sign is used to define ID's, not classes.  Here is some more detail about the difference:  http://www.htmldog.com/guides/css/intermediate/classid/
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb
Thanks Rob,