- Posts: 96
- Thank you received: 5
locking column width
10 years 10 months ago #39411
by MDTM2257
locking column width was created by MDTM2257
How can I LOCK the column width? Setting the column width in the table properties does not hold the column in a fixed position. The page in question:
d16.toastmastersdistricts.org/District_16_History_Page.html
Thanks,
Mary
d16.toastmastersdistricts.org/District_16_History_Page.html
Thanks,
Mary
The topic has been locked.
- RogerM
- Visitor
-
10 years 10 months ago #39415
by RogerM
Replied by RogerM on topic locking column width
Mary,
Your column width is easiest to correct in the source code.
Bring up the page, click on source. Notice that the table width is 600. You have 4 columns, which I presume you want equal.
In the source code, change the width of those 8 lines similar to :
<td style="background-color: rgb(236, 236, 236); text-align: center; width: 142px;">David Brown Fun Award</td> to:
<td style="background-color: rgb(236, 236, 236); text-align: center; width: 150px;">David Brown Fun Award</td>
Your column width is easiest to correct in the source code.
Bring up the page, click on source. Notice that the table width is 600. You have 4 columns, which I presume you want equal.
In the source code, change the width of those 8 lines similar to :
<td style="background-color: rgb(236, 236, 236); text-align: center; width: 142px;">David Brown Fun Award</td> to:
<td style="background-color: rgb(236, 236, 236); text-align: center; width: 150px;">David Brown Fun Award</td>
The topic has been locked.
10 years 10 months ago #39417
by MDTM2257
Replied by MDTM2257 on topic locking column width
Yes, that did work.
Thanks again.
Thanks again.
The topic has been locked.
- RogerM
- Visitor
-
10 years 10 months ago #39418
by RogerM
Replied by RogerM on topic locking column width
Glad to help.
The topic has been locked.
- SteveTheTechie
- Offline
- Administrator
-
Less
More
- Posts: 11526
- Thank you received: 3050
10 years 10 months ago #39422
by SteveTheTechie
Replied by SteveTheTechie on topic locking column width
To lock column widths of any HTML table, you can use "table-layout: fixed" in the style. You may need to do this in source view.
See here for details: www.w3schools.com/cssref/pr_tab_table-layout.asp
See here for details: www.w3schools.com/cssref/pr_tab_table-layout.asp
The topic has been locked.
Time to create page: 0.125 seconds
Copyright © 2025 FreeToastHost 3 Support. All Rights Reserved.