Coding questions.

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
jschner
Forum Newbie
Posts: 6
Joined: Mon Oct 07, 2002 11:52 am

Coding questions.

Post 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!
Coco
Forum Contributor
Posts: 339
Joined: Sat Sep 07, 2002 5:28 am
Location: Leeds, UK
Contact:

Post 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'?
jschner
Forum Newbie
Posts: 6
Joined: Mon Oct 07, 2002 11:52 am

Post 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!
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post 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
jschner
Forum Newbie
Posts: 6
Joined: Mon Oct 07, 2002 11:52 am

Post 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.
Post Reply