Rows or cols attribute doesn’t add up to 100 percent |
Rows or cols attribute doesn’t add up to 100 percent |
Almalutz |
Mar 18 2017, 12:39 AM
Post
#1
|
Group: Members Posts: 5 Joined: 18-March 17 Member No.: 26,347 |
What happens if the number of values in the rows or cols attribute doesn’t add up to 100 percent?
|
pandy |
Mar 18 2017, 08:29 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
The browser makes them add up. I think it varies how. But typically, the browser makes i proportional to the entered values, if possible.
Say, if in a 5 column table each column has the width 10%, the columns will be of equal width. If 4 is 10% and one is 20%, the 20 one will be twice the width of the others and so on. If one column lacks a width it will take up he slack, i.e. it will be about the width that's lacking to make it add up, provided TABLE doesn't have a width that prevents this. This is in my experience, there may be browsers that doesn't do it like this. |
Lo-Fi Version | Time is now: 19th April 2024 - 10:08 PM |