Solved

Table width not decreasing

Posted on 2007-03-21
3
140 Views
Last Modified: 2010-04-09
Hi,
I am having a problem with table TD not getting shrinked. I am not sure of the problem, but i am sure that TD and align should be problem. So i want experts help to sort it out.
Click on the link
http://www.placidway.com/search.php?country=Brazil&category=&treatmenttype=
Please see the image stored in
http://www.placidway.com/problem.jpg
Here i  have marked two circles one in red and one in blue.
The circle in red has the table shrink problem. The table should shrink but its not doing that.
Next when it is in Blue circle, it has to increase a bit so that it matches width of above Brown pallete as shown in picture.
Both are Width problems but can any one help why its not decreasing in first case and why its not increasing in second Blue color circle case?
Thanks,G.
0
Comment
Question by:gcmachel
3 Comments
 
LVL 1

Accepted Solution

by:
bennyshoham earned 500 total points
ID: 18770076
Solution for first (red circle) problem: eliminate the inner table (with the two lower rows) and add the rows to the outer table with the first row. This is best coding standard. If you insist on keeping this structure you need to give these attributes to the inner table: cellPadding="0" CellSpacing="0" width="100%"

Solution for second (blue circle) problem: Change the table width from 802 to 100%

Good Luck.
0
 
LVL 18

Expert Comment

by:Eternal_Student
ID: 18770414
Just a thought ... Why are you using tables for layout anyway?
0
 
LVL 4

Author Comment

by:gcmachel
ID: 18777902
There was a problem in Form tag overlapping with TD that caused all the layout to go cross the acceptable width. But your solution also seemed to be working.

Thanks for help anyway.
Regards,G.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
add image on html mail 6 26
Html CheckBox obtain Its Value 5 27
Javascript 2 17
IF statment In Powershell 12 14
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question