Getting table issue

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

@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:
https://www.sitepoint.com/community/faq#civil

Forum POSTING BASICS: (Help us help you!)

1 Like

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?

@PaulOB @ronpat
please check this below link , I have modified the code

I want to display in a table format with proper alignment

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:

Thanks Paul and everyone for helping me out this has solved

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