Page 1 of 1

Coding questions.

Posted: Tue Oct 15, 2002 3:15 pm
by jschner
I'm goofing around with various new designs for my website. However, I keep having these alignment problems within my tables.

For instance:

My header has a small black gap at the bottom that I can't get rid of.

My search input text box won't center vertically.

And now my navigation box in the middle has a gap in it that I that I can't seem to make go away.


I'm using Explorer 6.0. I appreciate any advice. My test page is located here:

http://www.cannondaler.com/main.php

Thanks!

Posted: Tue Oct 15, 2002 4:57 pm
by Coco
you header has a gap because the table that the banner is in is thicker than the image thats in it
i dont see what you mean about the search thing
you mean the box that says 'search cannondaler'?

Posted: Tue Oct 15, 2002 6:46 pm
by jschner
Thanks for the tip.

I figured out the gap under the banner. I had to line-up my table command in one line like this:
td blah blah blah /td

instead of like this:
td
blah blah blah
/td


I'm not sure what causes that but I use notepad so maybe it's a carrage return thing or something.

Yeah the search cannondaler box I'd like to have centered vertically within the narrow gray bar. Nothing I do seems to make it move vertically.

Then my Navigation box has that tiny 1px gap between the header gif to the the contents. That has me stumped.

The test review box without the gif header seems to work fine. Go figure.

Thanks!

Posted: Tue Oct 15, 2002 7:24 pm
by mydimension
not really sure what to say about that. i did however notice the placement of you DOCTYPE statement - its wrong, it needs to be the first line of the document or at the very least before the html tag

Posted: Wed Oct 16, 2002 1:20 am
by jschner
Thanks for the DOCTYPE advice. I had an extra html tag in my main before it added the header.

I changed my table heights for my verticle line decorations on my Navigation and Review boxes from 100% to a set value and that cleared up the tiny gaps. Another one of those "who knows why?" things.

If you have any general tips on how to make my newbie programmer life easier, I'm all ears.