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, 8 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
-
MS Office 365 Home on MAC
by
MickIver
21 minutes ago -
search by picture an not all that’s cracked up to be (Awaiting moderation)
by
Dru Fuksa
5 hours, 19 minutes ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
12 hours, 24 minutes ago -
Flash Drive Eject Error for Still In Use
by
J9438
13 hours, 57 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
1 day, 7 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
1 day, 7 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
10 hours, 56 minutes ago -
Migrate off MS365 to Apple Products
by
dmt_3904
11 hours, 45 minutes ago -
Login screen icon
by
CWBillow
2 hours, 7 minutes ago -
AI coming to everything
by
Susan Bradley
9 hours, 43 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
1 day, 22 hours ago -
No Screen TurnOff???
by
CWBillow
1 day, 23 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
1 day, 23 hours ago -
InfoStealer Malware Data Breach Exposed 184 Million Logins and Passwords
by
Alex5723
2 days, 11 hours ago -
How well does your browser block trackers?
by
n0ads
1 day, 21 hours ago -
You can’t handle me
by
Susan Bradley
21 hours, 43 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
1 day, 14 hours ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
2 days, 22 hours ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
2 days, 2 hours ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
2 days, 23 hours ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
2 days, 23 hours ago -
Lumma malware takedown
by
EyesOnWindows
2 days, 11 hours ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
3 days, 8 hours ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
3 days, 8 hours ago -
Meet Gemini in Chrome
by
Alex5723
3 days, 12 hours ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
3 days, 12 hours ago -
Trump signs Take It Down Act
by
Alex5723
3 days, 20 hours ago -
Do you have a maintenance window?
by
Susan Bradley
2 days ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 days, 22 hours ago -
Cox Communications and Charter Communications to merge
by
not so anon
3 days, 23 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.