Solved

Table width not decreasing

Posted on 2007-03-21
3
138 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 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

13 Experts available now in Live!

Get 1:1 Help Now