|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problem with table
I am having a problem with one of my tables. My question might be really easy, but for some reason I am drawing a blank right now. I have a page with a table on it that is larger than what the user can initially see (therefore they have to scroll over to see it). I have my table width set at 140%. Each of my columns is set at 20% (the first one) and 9% for the next 13 columns. My problem is that most cells have data in them, however, there are a couple of columns that do not, therefore, those columns shrink down. Look at the picture I have attached to see what I am talking about.
Please help!! I just need these columns to all be the SAME size!! |
|
#2
|
||||
|
||||
|
Well don't have your width over 100% for the entire table. Divide the number of columns you have into 100 and round off. If you have 7 columns then 5 will be 14% and 1 will be 16% for rounding off.
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.
|
|
#3
|
|||
|
|||
|
The problem with keeping the table width at 100% is that I have 14 columns, and if I have them all at 5%, the data that is in the cells will not be readable. I need that data to be readable. Any other ideas?
|
|
#4
|
||||
|
||||
|
The obvious choice for that is to restructure your table so you can fit it all onto two rows but have them identifiable from the other rows. Try alternative row background color. Going over 100% is just unacceptable for web browsing. I don't know if you've checked to see what that looks like in other browsers other than IE for the PC but you simply can't see much of the data because 40% of it is beyond the scope of the browser window. Make it readable for Netscape/Mozilla people too at least.
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Problem with table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|