Sunday, June 2, 2024
 Popular · Latest · Hot · Upcoming
197
rated 0 times [  199] [ 2]  / answers: 1 / hits: 23408  / 10 Years ago, mon, september 8, 2014, 12:00:00

I am using dataTable jquery plugin.


I need to reduce the height of the rows, how can I do it? (I need a fixed height)



I tried:



.dataTables tbody tr {
min-height: 35px; /* or whatever height you need to make them all consistent */
}


JSFiddle


More From » html

 Answers
18

tr don't have height.



You'll have to apply the height to its tds



Click here to see the fiddle


[#69525] Friday, September 5, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arthur

Total Points: 729
Total Questions: 107
Total Answers: 109

Location: China
Member since Mon, Aug 22, 2022
2 Years ago
;