Jump to content


Photo

Could someone double-check a couple of pages for me?


  • Please log in to reply
5 replies to this topic

#1 Spring Heeled Jack

Spring Heeled Jack
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 04 March 2006 - 08:00 PM

I lost use of my Dreamweaver software a while ago, so to maintain and revamp my site I've just been winging it. Not always the best idea.

I've run into some (probably elementary) problems with a couple of pages, and just can't figure out what the solution is. Could someone look at these and point out the obvious? :D

[a href=\"http://www.behindthechurch.com/\" target=\"_blank\"]http://www.behindthechurch.com/[/a]
The index is taking forever to load. Or at least, it loads but then still shows itself as loading. Very frustrating.

[a href=\"http://www.behindthechurch.com/press/\" target=\"_blank\"]http://www.behindthechurch.com/press/[/a]
[a href=\"http://www.behindthechurch.com/songspoll/blor_poll.php\" target=\"_blank\"]http://www.behindthechurch.com/songspoll/blor_poll.php[/a]
Both of these show a big negative space before the contents of the center table begin.

I think that's it.

Thanks!

-SHJ

#2 Spring Heeled Jack

Spring Heeled Jack
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 05 March 2006 - 02:57 PM

(*Bump*)

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 05 March 2006 - 06:39 PM

You have major html problems there, which are likely a root cause of many of your problems. There should only be one <html></html> set, only one <body></body> set ... you have many. Wild guess - you're using includes and have forgotten to remove the duplicate tags.

I'd suggest you try to write valid code (which really isn't difficult at all).

One reason why your page loads slowly might be that almost all the images are remotely hosted.
Legend has it that reading the manual never killed anyone.
My site

#4 Spring Heeled Jack

Spring Heeled Jack
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 06 March 2006 - 07:40 PM

I see. So what would "valid code" be, exactly? This is just a pasttime for me, so my level of code sophistication is perpetually amateur.

#5 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 06 March 2006 - 07:56 PM

Valid Code in HTML terms would to to supply a valid [a href=\"http://www.w3schools.com/tags/tag_doctype.asp\" target=\"_blank\"]DOCTYPE[/a]heres an example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
The DOPCTYPE should be the first tag before the <html> tag.

Next is to deperate design from code which you can do by using CSS! You can style your whole site, be it 10, 100, 1000+ pages you can change how a whole site can look by changing just ONE yes one file! Think how much time you can save but not editing 1000+ or even just 10 pages!

Currently you use the much depreciated <font> tag! This you dont want to use let CSS take on the design of your site. To get to grips with CSS check out the [a href=\"http://www.w3schools.com/css/css_intro.asp\" target=\"_blank\"]w3schools CSS Tutorials[/a].

To make sure you are using valid HTML always chekc your pages over with W3C's HTML Validation Tool [a href=\"http://validator.w3.org/\" target=\"_blank\"]here[/a]. The following links show where your HTML code is not valid!
[a href=\"http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.behindthechurch.com%2Fpress%2F\" target=\"_blank\"]Click here[/a] to see the results of your Press page which has 22 errors and most probably be easily corrected.

#6 Spring Heeled Jack

Spring Heeled Jack
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 06 March 2006 - 08:18 PM

Ah, you just blew my mind.

No, that actually makes perfect sense. I've avoided stylesheets for ages, and now I can't imagine why. I'm a glutton for busy work, I suppose.

Thanks! That really helped!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users