Having trouble with HTML Need Help.

gavin681's picture

They have: 184 posts

Joined: May 2001

Hi,

I designed this site in Front Page. Would anyone be able to take a look at the HTML. I am not able to get everything the way I want it. I don't no why I can't change or specify the length of the side bar and the bottom of the site there is a space that shows up in IE.

Any help would be much appreciated.

Thank,
Gavin

FAST Sites - Example Design #1

 Home
>   >>

Contact
Us  

Bahamas fly fishing and bone fishing vacations

'Docky', a native of northern Long Island in the southern Bahamas, has ten years experience in both Fly and Spin casting bone fishing (and - naturally - Reef and Deep sea Sports Fishing). His love is BONE FISHING! He has been quoted recently, in 'The Bahamas Fly-Fishing Guide', as 'One of the best Bonefish Guides of Long Island in the southern Bahamas'!

Docky is committed to ensuring total client satisfaction. He is extreemly knowledgeable and loves sharing his bone fishing experiences. All fishing anglers are welcome from Novice to Top-Experience - gents, ladies and children.

"Docky"
 
 

Select:
Home
Page
The
Flats
The
Boats
Fish
Facts
Hall
of Fame
Rates
Fish
Album
Articles
Contact
Us

 

AndyB's picture

They have: 344 posts

Joined: Aug 1999

Get rid of all those references to height="xxx" in the TABLE tags. Tables take their height from the content.

Get rid of the at the end of the code - all it does is create balnk space .... unless that's what you want.

Debugging table code is much easier if you (temporarily) set every table border="1" - then you can see the page/table structure much more easily. Often that points towards the problem/solution.

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

htmlvalidator.com

Buy the pro version. It will significantly help you with troubleshooting.

***

Otherwise, you're missing the closing tag, you have a few nesting errors, a tag without an opening one, and no alt attribute in your images.

The space at the bottom is the empty paragraph. Looks like this:

<p><br>
<br>
</p>
'

The length of the sidebar is tied to the table, so the length of the table determines the length of the sidebar.

As you have a very complex table layout (for no good reason), this becomes more complex than need be.

Smiling Suzanne

gavin681's picture

They have: 184 posts

Joined: May 2001

Thanks Suzanne and AndyB,

I got rid of:

Seems to have removed the space at the bottom.

>>The length of the sidebar is tied to the table, so the length of the table determines the length of the sidebar.<<

How can I untie the sidebar from the table? Can this be done?

>> Get rid of all those references to height="xxx" in the TABLE tags. Tables take their height from the content.<<

Should I just delete the height measures in the HTML?

>> Buy the pro version. It will significantly help you with troubleshooting.<<

Thanks. I didn't know there was a pro version.

Gavin

AndyB's picture

They have: 344 posts

Joined: Aug 1999

I can't remember the URL for Docky's site (your version) ....

You can 'untie' the sidebar from the table by making a background image that is your sidebar plus enough white space to fill even the biggest screens. 1600px wide should do it, then use that as the BODY background.

You can safely delete the height="xxx" from the html table tags.

gavin681's picture

They have: 184 posts

Joined: May 2001

>>I can't remember the URL for Docky's site (your version) .... <<

http://www.advancedwebsitepromotion.com/bonafide.htm

>>You can 'untie' the sidebar from the table by making a background image that is your sidebar plus enough white space to fill even the biggest screens. 1600px wide should do it, then use that as the BODY background.<<

I like to stay away from background images as they slow download time. In fact I try to use cell and table colors as much as possible. Isn't there anything I could do with the tables?

Gavin

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.