Getting table issue


#1

Hi, I have created one table within that I have put 2 body so I just want to make scrolling for second body
Thanks


#2

@nikhildhar92,

Multiple bodies in or on tables are handled by doctors known as medical examiners.

If this is about HTML and CSS, please show us the code you have written in a "working page"... one that we can copy to a file and open in our browser and see what you see.
OR
post a link to your test site, if you have one.

If you have not read the posting guidelines for this forum, please read our:

Forum guidelines:

Forum POSTING BASICS: (Help us help you!)


#3

You can probably only do this if you have the table layout fixed algorithm and specifically size each cell width.

Otherwise you’d have to build a complicated script to do this.

I’m not at a computer at the moment to test but my approach would be to set the second tbody to display: block so that you can apply a height and overflow and the nested tr to display table.

Some browsers may not like this and it may be that you would need a nested table approach instead.

Are you sure this is a good idea?


#4

@PaulOB @ronpat
please check this below link , I have modified the code
https://jsfiddle.net/zpfz1x8z/6/

I want to display in a table format with proper alignment


#5

As I said above the only way (probably) to do this is very rigid and you would need to set it up roughly like this:


#6

Thanks Paul and everyone for helping me out this has solved


#7

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.