Solved

Table width not decreasing

Posted on 2007-03-21
3
137 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
Comment Utility
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
Comment Utility
Just a thought ... Why are you using tables for layout anyway?
0
 
LVL 4

Author Comment

by:gcmachel
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now