Try:
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Tables have beaten me up!
Home » Forums » Developers, developers, developers » Web design and development » Tables have beaten me up!
- This topic has 20 replies, 4 voices, and was last updated 21 years, 7 months ago.
AuthorTopicWScarbonnb
AskWoody LoungerAugust 28, 2003 at 5:29 pm #392753Viewing 3 reply threadsAuthorReplies-
WSsteve-eyer
AskWoody LoungerAugust 28, 2003 at 6:57 pm #707098Dear Bryan,
I started with these lines, with the width set to 550, but after refreshing, the code changes to this, and the 4th row of code is added automatically, and the table flies out to the right, to 794 pixels wide.It’s the HTML gods punishing me for some unknown prior sin.
I have reduced some images to fit and I wonder if the table is reading the original sizes somehow.
Steve -
WSMarkJ
AskWoody Lounger -
WSsteve-eyer
AskWoody Lounger -
WSsteve-eyer
AskWoody Lounger
-
-
-
WSMarkJ
AskWoody Lounger -
WScmunro
AskWoody LoungerAugust 29, 2003 at 1:24 am #707367HTML tables are not very smart. They like everything to be the same = number of columns per row, rows per column, column widths and row heights (cell heights really). So if you’re doing anything fancy for the layout, it helps to keep borders on until you’re finished. You’ll have an easier time seeing what happening.
Do all the rows of your table have the same number of columns once you take into account the number of
elements and the colspan attributes? Do you have images in table cells? These will override width attributes at the table or cell level (tables can’t crop images).
Do you have long unbroken text, or nowrap attributes in some cells?
Do you have cells that span different columns in the table (e.g., row 1 col 2-4, row 2 col 1-2, row 3 col 3-5)? When you use colspan in cells, the width of the combined columns is determined by the content in other rows.
Sometimes it’s easier to stack several tables rather than try to adjust cells within rows of a single table.
Hope some of that helps.
-
WSsteve-eyer
AskWoody LoungerAugust 29, 2003 at 3:41 pm #707698Dear Charlie,
I understand everything but the following:
“When you use colspan in cells, the width of the combined columns is determined by the content in other rows.”
All the other questions you’ve posed have been noted and don’t seem to pose a problem.Where can I find an in depth discussion of tables? The two texts I have gloss over tables as if they were easy as pie.
Best,
Steve -
WScmunro
AskWoody LoungerSeptember 2, 2003 at 7:57 pm #709370If you find a good book on tables, let us know. I think part of the problem is that the tags are pretty simple – predicting how a browser will interpret them is not. I find myself using http://www.webreference.com[/url%5D when I need to know something. If you’ve got the basics but find yourself stopped by problems, check here in the lounge (of course), or use Google – and be sure to search both Web and Groups, the later of which is the old dejanews archive search of the newsgroups.
HTH
-
WSsteve-eyer
AskWoody Lounger -
WSsteve-eyer
AskWoody Lounger
-
-
-
WScmunro
AskWoody LoungerSeptember 2, 2003 at 7:57 pm #709371If you find a good book on tables, let us know. I think part of the problem is that the tags are pretty simple – predicting how a browser will interpret them is not. I find myself using http://www.webreference.com[/url%5D when I need to know something. If you’ve got the basics but find yourself stopped by problems, check here in the lounge (of course), or use Google – and be sure to search both Web and Groups, the later of which is the old dejanews archive search of the newsgroups.
HTH
-
WSsteve-eyer
AskWoody LoungerAugust 29, 2003 at 3:41 pm #707699Dear Charlie,
I understand everything but the following:
“When you use colspan in cells, the width of the combined columns is determined by the content in other rows.”
All the other questions you’ve posed have been noted and don’t seem to pose a problem.Where can I find an in depth discussion of tables? The two texts I have gloss over tables as if they were easy as pie.
Best,
SteveWScmunro
AskWoody LoungerAugust 29, 2003 at 1:24 am #707368HTML tables are not very smart. They like everything to be the same = number of columns per row, rows per column, column widths and row heights (cell heights really). So if you’re doing anything fancy for the layout, it helps to keep borders on until you’re finished. You’ll have an easier time seeing what happening.
Do all the rows of your table have the same number of columns once you take into account the number of
elements and the colspan attributes? Do you have images in table cells? These will override width attributes at the table or cell level (tables can’t crop images).
Do you have long unbroken text, or nowrap attributes in some cells?
Do you have cells that span different columns in the table (e.g., row 1 col 2-4, row 2 col 1-2, row 3 col 3-5)? When you use colspan in cells, the width of the combined columns is determined by the content in other rows.
Sometimes it’s easier to stack several tables rather than try to adjust cells within rows of a single table.
Hope some of that helps.
WScarbonnb
AskWoody LoungerAugust 29, 2003 at 3:01 pm #707658I just reread your original post and just realised that you are using Ultradev.
Dreamweaver/Ultradev seem to add extra columns if the columns are not the same width the same all down the table. You may have to live with that and change some of your colspan to match how may “new” columns they actually span. This is one of the few things about Dreamweaver I’m not overly fond of.
It’s been a while since I have layed out complex tables in Dreamweaver, but I think I think I eventually resorted to changing the table code by hand (in code view and not layout view).
WScarbonnb
AskWoody LoungerAugust 29, 2003 at 3:01 pm #707659I just reread your original post and just realised that you are using Ultradev.
Dreamweaver/Ultradev seem to add extra columns if the columns are not the same width the same all down the table. You may have to live with that and change some of your colspan to match how may “new” columns they actually span. This is one of the few things about Dreamweaver I’m not overly fond of.
It’s been a while since I have layed out complex tables in Dreamweaver, but I think I think I eventually resorted to changing the table code by hand (in code view and not layout view).
WSsteve-eyer
AskWoody LoungerAugust 28, 2003 at 6:57 pm #707099Dear Bryan,
I started with these lines, with the width set to 550, but after refreshing, the code changes to this, and the 4th row of code is added automatically, and the table flies out to the right, to 794 pixels wide.It’s the HTML gods punishing me for some unknown prior sin.
I have reduced some images to fit and I wonder if the table is reading the original sizes somehow.
SteveWSsteve-eyer
AskWoody LoungerAugust 28, 2003 at 7:00 pm #707025I’m a pure novice. But determined. I am using UltraDev (Dreamweaver) to construct, but usually hand code the HTML to fine tune. I am missing something though.
I have constructed an HTML document for my microscopes-for-collectors site that consists of 15 or so rows, 2 columns wide.
I can’ t control the width of these rows. Some rows have text, others have another table inside, with 4 columns, some have images only. And quite a few have the specified two columns.I have used a colspan=”2″ in row definitions (tr) where there is only text or an image, or another table. Before I used the colspan in the (td) definition, but it seemed to work not at all. Each row seems to have a mind of its own, and flies off to the right. Where I specify width=”550″ at the top, or width=”100%” or exact pixels in the body of the table, it seems to have little effect. The table usually usually flies out to about 750 pixels. When I move the row back to 550 pixels it leaves several empty
data areas to the right.
Is there a way to absolutely lock this master table at 550 pixels?
Thanks for any suggestions.
Steve
-
WSsteve-eyer
AskWoody LoungerAugust 29, 2003 at 3:30 pm #707685Dear Brian,
I tried to set the initial column width specification to 550 but UltraDev just resets it at will. I did find all the extra columns added, and the colspans were reset to the new number of columns. I was working in layout view.I got rid of them by doing a find and replace for the extra
that were added. But that left me to manually remove some extra “td” specifications that were dropped in and also manually reset the colspan to 2 again. When I try to move the right hand border manually towards 550 width, I get the extra columns. I switched out of layout view and was able to drag the table to the left more easily. I am at 600 pixels and can’t seem to progress further. I will probably leave it there and just have it 10% wider than I wanted. I believe that now is the time to take it out of UltraDev and set it up by hand. Perhaps I will get it squeezed down further.
The same “addition” of extra data cells also occurs when I try to change the height to get rid of the white spaces. In the layout view this appears as a faint grey area, and I just find it manually and delete the extra row.
I will let you and the other correspondents know how I do.
Thanks to everyone. I tried each of your suggestions. Every suggestion helped, and let me understand the software and HTML more and more.
Steve
-
WSsteve-eyer
AskWoody LoungerAugust 29, 2003 at 3:30 pm #707686Dear Brian,
I tried to set the initial column width specification to 550 but UltraDev just resets it at will. I did find all the extra columns added, and the colspans were reset to the new number of columns. I was working in layout view.I got rid of them by doing a find and replace for the extra
that were added. But that left me to manually remove some extra “td” specifications that were dropped in and also manually reset the colspan to 2 again. When I try to move the right hand border manually towards 550 width, I get the extra columns. I switched out of layout view and was able to drag the table to the left more easily. I am at 600 pixels and can’t seem to progress further. I will probably leave it there and just have it 10% wider than I wanted. I believe that now is the time to take it out of UltraDev and set it up by hand. Perhaps I will get it squeezed down further.
The same “addition” of extra data cells also occurs when I try to change the height to get rid of the white spaces. In the layout view this appears as a faint grey area, and I just find it manually and delete the extra row.
I will let you and the other correspondents know how I do.
Thanks to everyone. I tried each of your suggestions. Every suggestion helped, and let me understand the software and HTML more and more.
Steve
WSsteve-eyer
AskWoody LoungerAugust 28, 2003 at 7:00 pm #707026I’m a pure novice. But determined. I am using UltraDev (Dreamweaver) to construct, but usually hand code the HTML to fine tune. I am missing something though.
I have constructed an HTML document for my microscopes-for-collectors site that consists of 15 or so rows, 2 columns wide.
I can’ t control the width of these rows. Some rows have text, others have another table inside, with 4 columns, some have images only. And quite a few have the specified two columns.I have used a colspan=”2″ in row definitions (tr) where there is only text or an image, or another table. Before I used the colspan in the (td) definition, but it seemed to work not at all. Each row seems to have a mind of its own, and flies off to the right. Where I specify width=”550″ at the top, or width=”100%” or exact pixels in the body of the table, it seems to have little effect. The table usually usually flies out to about 750 pixels. When I move the row back to 550 pixels it leaves several empty
data areas to the right.
Is there a way to absolutely lock this master table at 550 pixels?
Thanks for any suggestions.
Steve
Viewing 3 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
2 hours, 13 minutes ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
3 hours, 2 minutes ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
40 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
5 hours, 37 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
14 hours, 15 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
18 hours, 14 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
18 hours, 15 minutes ago -
Unable to eject external hard drives
by
Robertos42
8 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
2 hours, 7 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
6 hours, 9 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 22 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
1 day ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
2 days, 4 hours ago -
Upgrade Sequence
by
doneager
1 day, 21 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
3 hours, 27 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
20 hours, 40 minutes ago -
The incredible shrinking desktop icons
by
Thumper
3 days, 1 hour ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
3 days, 3 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
2 hours, 12 minutes ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 12 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 12 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 16 hours ago -
Speeding up 11’s search
by
Susan Bradley
1 day ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 12 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
4 days, 2 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 9 hours ago -
24H2 fixed??
by
CWBillow
3 days, 2 hours ago -
Uninstalr Updates
by
jv16
4 days, 15 hours ago -
Apple zero days for April
by
Susan Bradley
11 hours, 45 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 12 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.