Try:
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
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, 6 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
-
7 tips to get the most out of Windows 11
by
Alex5723
1 hour, 57 minutes ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
1 hour, 39 minutes ago -
I installed Windows 11 24H2
by
Will Fastie
1 hour, 23 minutes ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
2 hours, 39 minutes ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
1 hour, 2 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
2 hours, 51 minutes ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
4 hours, 13 minutes ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
15 hours, 33 minutes ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
19 hours, 54 minutes ago -
Neowin – 20 times computers embarrassed themselves with public BSODs and goofups
by
EP
1 day, 4 hours ago -
Slow Down in Windows 10 performance after March 2025 updates ??
by
arbrich
6 hours, 44 minutes ago -
Mail from certain domains not delivered to my outlook.com address
by
pumphouse
12 hours, 52 minutes ago -
Is data that is in OneDrive also taking up space on my computer?
by
WShollis1818
23 hours, 32 minutes ago -
Nvidia just fixed an AMD Linux bug
by
Alex5723
2 days, 15 hours ago -
50 years and counting
by
Susan Bradley
5 hours, 51 minutes ago -
Fix Bluetooth Device Failed to Delete in Windows Settings
by
Drcard:))
1 day, 21 hours ago -
Licensing and pricing updates for on-premises server products coming July 2025
by
Alex5723
3 days, 2 hours ago -
Edge : Deprecating window.external.getHostEnvironmentValue()
by
Alex5723
3 days, 2 hours ago -
Rethinking Extension Data Consent: Clarity, Consistency, and Control
by
Alex5723
3 days, 2 hours ago -
OneNote and MS Word 365
by
CWBillow
3 days, 4 hours ago -
Ultimate Mac Buyers Guide 2025: Which Mac is Right For You?
by
Alex5723
3 days, 4 hours ago -
Intel Unison support ends on Windows 11 in June
by
Alex5723
3 days, 4 hours ago -
April 2025 — still issues with AMD + 24H2
by
Kevin Jones
20 hours, 3 minutes ago -
Windows 11 Insider Preview build 26200.5518 released to DEV
by
joep517
3 days, 16 hours ago -
Windows 11 Insider Preview build 26120.3671 (24H2) released to BETA
by
joep517
3 days, 16 hours ago -
Forcing(or trying to) save Local Documents to OneDrive
by
PateWilliam
4 days, 1 hour ago -
Hotpatch for Windows client now available (Enterprise)
by
Alex5723
3 days, 13 hours ago -
MS-DEFCON 2: Seven months and counting
by
Susan Bradley
2 days, 14 hours ago -
My 3 monitors go black & then the Taskbar is moved to center monitor
by
saturn2233
4 days, 10 hours ago -
Apple backports fixes
by
Susan Bradley
3 days, 16 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.