Header heading nowhere fast...

They have: 5,633 posts

Joined: Jan 1970

Hi all,

Just wondering if anyone out there might make sence of why a header is not appering on one of my sites.

The site is www.profitbump.com

Iv been stering at the code for hours but im blind to the problem.

The header is named index_01.jpg , you'll find it near the top.

<td background="images/index_01.jpg" height="142" width="758" valign="top">&nbsp; </td>

If anyone would be so kind, i would appreciate it Smiling

By the way, Happy Christmas soon Smiling

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

The problem is a few lines up with this bit of code:

<table align="center" border="0" cellpadding="0" cellspacing="0" width="758>

You're missing a quote after the width. Smiling

greg's picture

He has: 1,581 posts

Joined: Nov 2005

If you use a colour coded editor of some kind, such as notepad++, it colours everything nicely for you, and as the code is in colour, it highlights problems and makes them easier to see.

An issue like that would show the next line in purple (by default) showing that it's not correctly coded html.

pr0gr4mm3r's picture

He has: 1,502 posts

Joined: Sep 2006

Ya, I noticed the error by viewing the source in Firefox. It made the line with the graphic red, and the syntax highlighting was all messed up all the way back to the missing quote.

They have: 5,633 posts

Joined: Jan 1970

Oh my god. Thanks so much.

I cant believe i didnt see it. I guess thats what i get for looking at the screen to much.

I use PSpad which seems to be a good editor. Has all the colours greg mentioned. Ill have to check out notepad++ to see if its worth changing to that one.

Anyway, thanks again and Merry Christmas to those who celebrate it Smiling

greg's picture

He has: 1,581 posts

Joined: Nov 2005

You should (usually) stick to what you are comfortable with and used to, but change can sometimes be for the better.

I never used PSpad, so cannot advise if switching would be beneficial, but Notepad++ is great, with some excellent plugins.

And, Merry Christmas to you too (although a tad early yet Smiling )

decibel.places's picture

He has: 1,494 posts

Joined: Jun 2008

I can't tell you how many times I left out a parenthesis (mostly this), a quote, a semi-colon, or some other character which broke an entire page...

I use EditPlus which color codes, with support for HTML. PHP and CSS (probably more, but that is what I use it for)

Other groovy features include "find in files" and one click preview -

It's free to try, I keep meaning to register it, but I am on day 223 of the 30 day trial, the only nag is one popup when it starts...

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.