Reduce large gap between cells in table

Tom Knowlton
Tom Knowlton used Ask the Experts™
on
Please visit:

http://test.huskyshoponline.com//checkout.aspx?checkout=1go
(this is a test site, if you need to authenticate use "mike" for both the username and the password)

If you don't see the Promo Code textbox then click "Proceed to Checkout" button and then on the next page choose a shipping method.

I want to reduce the vertical gap between the "Promo Code" textbpx and the Agreement text below it.  See the gap?


Thanks,


Tom



 gap
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
DO NOT DESIGN WITH BORDERS!!!!!

So when you have a wrapper thats say 800px wide.  Then you have 2 columns: 200px and 600px

If you add a 1px border to both columns, then your columns will then be 2px wider because the border is on the OUTSIDE.  As a result, your columns would be 804px wide and would not fit inside the wrapper.  This would cause all sorts of layout problems.  remove the borders.

 If you really need to see borders around everything, use the Web Developer Toolbar for firefox.
Tom KnowltonWeb developer

Author

Commented:
I only turn the div borders ON for the document when I am designing or troubleshooting.

I turn them off for production deployment.

But you are correct...they do skew the layout.

Yes, I suppose a dev tool would be better.  I actually do use firebug.
Did removing the borders fix your problems?

The Web Developer Toolbar has a great feature for outlining different types of elements.  The tool will put an outline around things without messing up your layout.  It's a MUST HAVE for web developers.  IT has literally saved me weeks of work.

Cheers.
Tom KnowltonWeb developer

Author

Commented:
Technically, no, it was not removing the borders that fixed it.

It was a combination of things...just working through the various divs and adjusting the CSS properties did the trick.
Tom KnowltonWeb developer

Author

Commented:
I hate waiting for PAQs.....so I just assign points and post my eventual solution.  I don't "care" about getting points.  I think I'm ranked like 7,000 or something.  LOL.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial