Link to home
Create AccountLog in
Avatar of Sathish David  Kumar N
Sathish David Kumar NFlag for India

asked on

how to find table size for all screen in HTML

HI ,

I am design one HTML page ,It contain HTML table
in my computer monitor working fine for all browser but in small monitor or height monitor the alignment are differ .

How to fix the height of the table depends upon the monitor and browser ??
ASKER CERTIFIED SOLUTION
Avatar of Edwin Hoffer
Edwin Hoffer
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Dave Baldwin
You can make a table adjust to the available screen by using percentages to set the sizes.  Or even by not setting any sizes.  Tables will automatically adjust when you don't set any sizes.  Can you show us the code for your table?
Avatar of Sathish David  Kumar N

ASKER

ya i gave 90% height only ? but its not working ...
edwin where i want to close the dive above ??
Close it after the table class
<div id=1 stsyle={width:100%;margin:auto;}>
   <div id=2 stsyle={width:1150px;margin:auto;} >
       <table></table>
   </div>
</div>

is this correct ??
Yes try this.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account