Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Website does not open for some

    I've received several messages that tell me that my website does not open for them. It always works for me from a few computers. http://js-gallery.net/

    What would cause this?

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    830
    Thanks
    10
    Thanked 79 Times in 77 Posts
    Try correcting coding errors:

    HTML

    You have no document type which puts browsers in Quirks Mode and gives problems at times. You also do not have any character encoding tag.
    ☠ ☠RON☠ ☠

  • #3
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    I've added this:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <html>
    <head> <meta name="verify-v1" content="P8EAjHV9eQB69MFdIYC1lcEUxswsKrdN/Iie9xW3bI8=" />
    <title> index </title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta content="Jerry Spillman" name=Author>
    <meta name="zipcode" content="33573" />
    <link rel="shortcut icon" href="favicon.ico" ></head><body>

    but the link still will not open for some.
    Any help?

  • #4
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,038
    Thanks
    23
    Thanked 589 Times in 588 Posts
    You still have 94 Errors on the page. Don't know if that's your problem, but they should be corrected.

    What browsers and versions are not seeing your site?
    Evolution - The non-random survival of random variants.

  • #5
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    People just state that the site does not open but do not relate what browser they are using. It opened for you - it opens for some, with the errors, why not all? The errors are not keeping the site from opening. What is it?

    I have been working on the errors. But it is the yes and no that is a puzzle.

  • #6
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,592
    Thanks
    0
    Thanked 645 Times in 635 Posts
    The only way to be sure the errors are not causing the problem is to get rid of them. Then if it still doesn't open then you will know it wasn't the errors.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #7
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    830
    Thanks
    10
    Thanked 79 Times in 77 Posts
    Definitely must correct your errors. Just looking at your source code, I immediately see 2 opening html and body tags after the doctype. Many nitpicking "errors" like not closing some tags which must be closed when using an XHTML doctype. Some errors are because of outdated tags like the font tags and using certain attributes. Table tags for layout use went out in the 1990s. Tags and attributes must all be lowercase with XHTML.

    Although the transitional XHTML doctype should allow some leeway with these errors, some browsers may balk and cause trouble..
    ☠ ☠RON☠ ☠

  • #8
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    What specifically do you see? I don't see any open html tags - outdated tags? font and tables are out? That is what I always use.

    Truthfully, most of the validation errors are not errors to me, and I don't know how to fix them. Perhaps you can suggest a source I can update my coding.

    However the problem of the site opening for some could not be for old coding - I've not had this problem before.

  • #9
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,038
    Thanks
    23
    Thanked 589 Times in 588 Posts
    That's because you did use http://validator.w3.org to check code or look at your errors here http://validator.w3.org/check?verbos...gallery.net%2F
    Evolution - The non-random survival of random variants.

  • #10
    New Coder
    Join Date
    Jul 2005
    Posts
    72
    Thanks
    8
    Thanked 0 Times in 0 Posts
    I fail to see how to correct these three remaining validation errors. The coding I use does work on the page. ???
    It should be obvious that this is a hobby for me and I am not up to date or understand some terms, even when defined. But I'm working on it. So just to say correct your errors is useless.
    With all the experts on this forum I hope I can get some help, it would be very much appreciated.

  • #11
    Regular Coder gcmax's Avatar
    Join Date
    Sep 2010
    Location
    Leeds
    Posts
    106
    Thanks
    8
    Thanked 5 Times in 5 Posts
    Site works on Internet Explorer, Google Chrome and Firefox. No issues here. Seeing as these are the main three browsers used you don't seem to have any problems BUT I think you need to separate the html from the css as this is the way to go for future developments and don't use tables, use divs! You can style all the elements on the page using an external reference to a css file as follows;

    Code:
    <link rel="stylesheet" href="style.css" type="text/css" />
    So your header could look like this;

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    
    <head><title>My Website</title>
    <link rel="stylesheet" href="style.css" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="robots" content="index,follow" />
    <meta name="author" content="My Name" />
    <meta name="Description" content="Welcome to my website" />
    <meta name="Keywords" content="the,keywords" /></head><body>
    ---------------------------------
    website: www.gcmax.co.uk
    webmail: stevenbell@gcmax.co.uk
    ---------------------------------

  • #12
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    830
    Thanks
    10
    Thanked 79 Times in 77 Posts
    1) No character encoding: See - Specifying Character Encoding

    2) "document type does not allow element "BODY" here": Suggest correcting <body bgcolor="#006600"> to just <body> and use external CSS file to set background color, i.e.:

    body { background: #006600; } or body { background: #060; }

    3) "end tag for "HTML" which is not finished": Try adding the opening <html> tag before the opening <head> tag.

    Might help you:

    How to Make a Web Page:

    Getting started with HTML: http://www.w3.org/MarkUp/Guide/
    Comprehensive intro for HTML and CSS: http://htmldog.com/
    Covers the basics of web standards-based design in HTML and CSS: http://dev.opera.com/articles/view/1...dards-cur/#toc
    Good reference for HTML, CSS and JavaScript: http://reference.sitepoint.com/
    BASIC HTML & CSS for NON-WEB DESIGNERS: http://www.dontfeartheinternet.com/

    Basic HTML Code / Tags For Simple Web Page: http://www.ibdhost.com/help/html/
    HTML Examples: http://www.w3schools.com/html/html_examples.asp
    Beginner's HTML Tutorial: http://www.htmlbasix.com/
    How to Create a Web Page: http://www.make-a-web-site.com/
    So, you want to make a Web Page!: http://www.pagetutor.com/html_tutor/index.html
    =========================
    Tableless Web Design: http://en.wikipedia.org/wiki/Tableless_web_design
    Why tables for layout is stupid: http://www.hotdesign.com/seybold/
    How to convert manually your HTML tables to CSS: http://www.table2css.com/articles/ho...tml-tables-css
    Basic Tables [Bad Examples!]: http://www.yourhtmlsource.com/tables/basictables.html
    Images, Tables, and Mysterious Gaps: https://developer.mozilla.org/en/Ima...ysterious_Gaps
    ☠ ☠RON☠ ☠

  • #13
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,038
    Thanks
    23
    Thanked 589 Times in 588 Posts
    Quote Originally Posted by jerrysp View Post
    I fail to see how to correct these three remaining validation errors. The coding I use does work on the page. ???
    The errors are caused by your doctype
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    This is for a site using <frameset> tags. Last century that was ok, but is frowned on now. So I change it, but still stayed with a 4.0 since that's what you used. Personally I'd use html5.

    Quote Originally Posted by jerrysp View Post
    It should be obvious that this is a hobby for me and I am not up to date or understand some terms, even when defined. But I'm working on it. So just to say correct your errors is useless.
    Around my neck of the woods people that have hobbies spend more time and money on them then their jobs. My brother knows more about the tropical fish he buy then the people that own the store that sells them. You should get back into the swing of things and learn HTML5 and CSS3. Just learning any CSS will update your knowledge a hundred fold. Correcting errors mean you read and get the skills you need. Whining don't do you any good.
    Go here any study: http://www.w3schools.com/html/ First general HTML and then HTML5.
    and CSS here http://www.w3schools.com/css/

    Although modern browser waste a lot of time and code supporting the old styles that may not be so in the future. So keeping your web site up to date is a good thing to do, especially since it is your hobby.

    Quote Originally Posted by jerrysp View Post
    With all the experts on this forum I hope I can get some help, it would be very much appreciated.
    OK, but you have a lot of pages to update. At lest change the doctype.

    I removed the tables. So the borders you had around the images are a little different, but over all I think I nailed it and most important it passes the validator!!! I also made the tag lower case, that's the style now.

    Study it and if you have questions we're always here.
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>index</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">
    body{
    	background-color: #006600;
    	width: 100%;
    }
    #container{
    width: 975px;
    margin: 30px auto;
    }
    #top{
    	width: 236px;
    	color: #ffffff;
    	font-family: algerian;
    	font-size: 4em;
    	position:relative;
    	margin: 0 auto;
    }
    div.wrapper {
        width: 970px;
    	background-color:#79cdcd;
        margin: 0 auto;
    	display:block;
    }
    .nav {
    	display: block;
    	width: 780px;
    	margin: 0 auto;
    	overflow: auto;
    }
    .nav a{
        float:left;
        text-align:center;
        margin-right: 20px;
    }
    #toys{
    	width:470px;
    	height:455px;
    	border:6px solid silver;
    	border-right:6px solid black;
    	border-bottom:6px solid black;
    	margin: 20px auto;
    }
    #toys img{
    	border: 1px solid black;
    }
    #last{
    	width:521px;
    	height:500px;
    	border:6px solid silver;
    	border-right:6px solid black;
    	border-bottom:6px solid black;
    	margin: 20px auto;
    }
    #last img{
    	border: 1px solid black;
    	border-bottom:white;
    }
    #under_last{
    	border-left:1px solid black;
    	background-color:white;
    	width:520px;
    	height:30px;
    }
    #last_ancs{
    	width:410px;
    	margin:0 auto;
    	font:arial;
    	font-size: 1.2em;
    }
    </style>
    </head>
    
    <body>
    <div id="top">js-gallery</div>
    <hr>
    <hr>
    <div id="container">
    	<div class="wrapper">
    		<img src="banner.jpg" width="970" height="430"  alt="picture.">
    		<div class="nav">
    			<a href="n162.htm" title= "Goodwin Champion Baseball Cards"> N162bb </a>
    			<a href="n162c.htm" title= "Goodwin Champion Cards"> N162cards </a>
    			<a href="t206.htm" title= "T206 White Border Cards"> T206 </a>
    			<a href="t4.htm" title= "T4 Obak Cabinets"> T4 </a>
    			<a href="e254f.htm" title= "Colgan's Chips Baseball Cards"> E254</a>
    			<a href="r305.htm" title= "Tattoo Orbit Baseball Cards"> R305</a>
    			<a href="rosef.htm" title= "Rose Co. Baseball Postcards"> PC760 </a>
    			<a href="mw600.htm" title= "Sporting Life Baseball Cabinets"> W600 auto </a>
    			<a href="w600.htm" title= "Sporting Life Baseball Cabinets"> W600 manual </a>
    			<a href="ms81.htm" title= "Helmar Baseball Silks"> S81 </a>
    			<a href="publications.htm" title= "Publications"> Publications </a>
    		</div>
    	</div>
    
    	<div id="toys">
    	<a href="toys.htm">
    		<img src="toys.jpg" width="470" height="455" alt="picture.">
    	</a>
    	</div>
    
    	<div id="last">
    		<img src="da.jpg" width="520" height="469" alt="picture.">
    		<div id="under_last">
    			<div id="last_ancs">
    				<a href="mcurr1.htm" style="margin-right:165px;"> US Currency1</a>
    				<a href="mcurr2.htm"> US Currency2</a>
    			</div>
    		</div>
    	</div>
    </div>
    </body>
    </html>
    Evolution - The non-random survival of random variants.

  • Users who have thanked sunfighter for this post:

    Major Payne (12-15-2013)

  • #14
    New to the CF scene
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Firstly check your html error and secondly you contact to hosting provider

  • #15
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,038
    Thanks
    23
    Thanked 589 Times in 588 Posts
    @andrew321, Why are you just going around and posting what has been posted before? Are you just trying to get posting points? Read what has been said before handing out advice. It's petty good bet that the doctype was the cause of the problems.
    Evolution - The non-random survival of random variants.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •