Solved

Table width not decreasing

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

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