Spring Heeled Jack Posted March 4, 2006 Share Posted March 4, 2006 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 Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/ Share on other sites More sharing options...
Spring Heeled Jack Posted March 5, 2006 Author Share Posted March 5, 2006 (*Bump*) Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/#findComment-14393 Share on other sites More sharing options...
AndyB Posted March 5, 2006 Share Posted March 5, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/#findComment-14428 Share on other sites More sharing options...
Spring Heeled Jack Posted March 6, 2006 Author Share Posted March 6, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/#findComment-14738 Share on other sites More sharing options...
wildteen88 Posted March 6, 2006 Share Posted March 6, 2006 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:[code]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">[/code]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 [b]ONE[/b] 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. Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/#findComment-14749 Share on other sites More sharing options...
Spring Heeled Jack Posted March 6, 2006 Author Share Posted March 6, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/4103-could-someone-double-check-a-couple-of-pages-for-me/#findComment-14759 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.