The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Page loads from HD, but not from web or C Panel
Lostinthe60s
post Jan 1 2012, 11:11 AM
Post #1





Group: Members
Posts: 3
Joined: 1-January 12
Member No.: 16,172



I guess I should preface this by saying that I am pretty much a noob. That is to say, I do have a clue, but just a little one. I am working on getting a big one though. I guess I should also say, that I know the code is pretty junky. And I know I should be using CSS. But it has been a while since I have messed with any of this, and I just want to get this up and running quick and dirty. Once I at least have some content on the site, then I will go through it and rewrite the code correctly. And I don't think that my problem is related to the fact that I didn't use CSS.
That said, this is a strange issue, at least to me. I am trying to make just a little family fun webpage. You know, pictures, bios, links to fun stuff, just simple stuff. I have uploaded my Contact_Us.html page (the code) and two screenshots to here.

Contact Us.html
Doesnt_Work.html
Works.html
My Site

On the one screenshot, I highlighted the word banner because it was tiny and hard to see. I figure this means that the browser knows there's a picture there, but can't display it.

You will notice when you look at the code that I have a JavaScript menu. I made the menu with a very nice piece of software. Freeware actually. The one issue with the software is that you can either anchored the menu to an image, or an element, but not both. The way the homepage is put together, required me to choose an element to anchor to. So that means that the menu has to anchor to an element on all the pages. Which is why my banner is in a table.
What is confusing to me is that when I run the page from my hard drive, the page works fine. However, if I go to the homepage, and use the menu to access the contact us page there is no banner. Nor is there a banner if I access the page using my C panel.

Since the code on my hard drive, and the code on site are identical, I don't understand why the page doesn't work both ways. I even went so far as to copy both pages Into Word and compared them. Just in case I was missing, or a quotation mark where there was some difference that I just notice. Word said that they're identical.
I've got about a half a dozen or so pages on the site, and they are all running fine. I just don't understand why this one page doesn't work. What makes it worse, is that I'm sure that it's going to be something simple, and then I'm going to feel like a moron for not seeing it. And yes pointing and laughing at the noob is allowed.
If anyone can help me out here I most certainly would appreciate it. And I thank you in advance.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 1 2012, 01:06 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE
On the one screenshot, I highlighted the word banner because it was tiny and hard to see. I figure this means that the browser knows there's a picture there, but can't display it.


Yes, it sounds like it displays the alt text. Did you use alt text and is it the word "banner"?

Seeing you use mixed case a lot, I think that may be the problem. Most servers are Linux/Unix based and are case sensitive unlike windows. So if you name your image Banner.jpg but use banner.jpg in the IMG tag, the file won't be found. On a case sensitive system those are two different files.

If that doesn't help, please link to the page on the server.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Jan 1 2012, 01:14 PM
Post #3


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Looks okay to me. But I'd start by fixing the markup and CSS errors reported by the online tools:
http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes
http://jigsaw.w3.org/css-validator/validat...ng=&lang=en

Some of the errors are caused by the page using a frameset doctype declaration. You aren't using frames, so there's no frameset, so you don't need a frameset doctype declaration. Just pick a doctype declaration that triggers standards mode (HTML 4.01 Transitional may be a good one for you to use):
http://hsivonen.iki.fi/doctype/

Some of the errors are caused by mixing HTML with XHTML. Pick one or the other, and don't mix them.

A couple of the CSS errors are caused by a lack of units on length values. You probably meant to use px.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th April 2024 - 02:47 PM