cancel
Showing results for 
Search instead for 
Did you mean: 

all browsers work exept Chrome ?

Kungaloosh
Grafter
Posts: 71
Registered: 23-08-2007

all browsers work exept Chrome ?

Sorry of this is sopmething really obvious but as you will tell from my web space I am a complete novice on web desgin....I have a problem where the naviagtion buttons on my sites dont work in Chrome, they work in every other browser ! if I try and naviagte to another page of the site i get an Authentication Required box, URL of site is www.charliebrownsdiner.co.uk if anybody has any advice I would be very grateful Smiley
5 REPLIES
Superuser
Superuser
Posts: 9,514
Thanks: 868
Fixes: 53
Registered: 06-04-2007

Re: all browsers work exept Chrome ?

Even with Firefox trying to go beyond the front page (eg to Menu) brings up several FTP authorisation boxes for me. If I close each of these a page of text appears with menu image. However the (HTML) menu buttons are empty.
Have you set directory and file permissions appropriately so that the server can enter the charlies_files directory and read the image files?
At the moment it is possible to list the files in the charlies_files directory. Allowing that is a security risk.
David
Cign
Grafter
Posts: 42
Registered: 17-08-2007

Re: all browsers work exept Chrome ?

Hi
I think the main problem is that you have used Microsoft Word to produce the pages. The outcome of this is that the code is very convoluted and about 100 times longer and more complicated than it needs to be. The authorisation problems arise from trying to load the images from the server via FTP. This is not the normal way of calling images into an HTML document. I would suggest that you get hold of a purpose made html editor and start again from scratch, I don't think the pages you have written are recoverable, SORRY!
You could try CoffeeCup Free HTML Editor  http://webdesign.about.com/od/freewebeditors/fr/coffeecup-free-html-editor.htm  or Kompozer http://kompozer.net/
I can't say that I have tried either of these but a quick Google will find others.
Just for info I created an html document with one image and four words using Microsoft Word, it made a document 501 lines long Shocked. The same document from Dreamweaver was just 12 lines long ...  For info your home page is 2310 lines long it should probably be about 40 (less if you use CSS for the layout and styling). It may be worthwhile looking at http://www.w3schools.com/web/web_html.asp or similar.
Good Luck
Community Veteran
Posts: 1,236
Registered: 02-08-2007

Re: all browsers work exept Chrome ?

I would agree with Cign with this. The HTML is this site makes little sense to me, it could be much more straight forward  than it is currently.
When building any site it is a good idea to have several browsers installed on your machine and a local webserver. In my case I use apache (you can run this on the local computer), IE, Firefox and Chrome.
Routinely save your work and refresh each browser so you can spot the issues straight away and long before the site goes live. Two monitors or a second computer/laptop on the network makes this process easier.
You will quickly learn what html tags etc. behave differently in each browser, for example the paragraph tag <p> will cause Firefox to jump two lines instead of one in IE. For this reason I avoid it completely and use the break tag instead <br>
I cannot comment on various HTML editors as I only use Dreamweaver but I do know that Microsoft Word, if anything like Front Page should be avoided like the plague.
Denzil
Grafter
Posts: 1,733
Registered: 31-07-2007

Re: all browsers work exept Chrome ?

Yes, that code is horrible, and it is all Word's fault! I can vouch for Kompozer, which does produce fairly neat code.
To get the images working in  the short term, you could open each html file in a text editor (e.g. Notepad). Anywhere you find a link to an image, like this one,
Quote
<img width=984 height=311 src="ftp://ftp.plus.net/htdocs/charlies/charlies_files/image4011.gif" v:shapes="_x0000_s1025">

change it to
Quote
<img width=984 height=311 src="../charlies_files/image4011.gif" v:shapes="_x0000_s1025">

The easiest way to do it would be to do a Find and Replace to change all the instances of "ftp://ftp.plus.net/htdocs/charlies" to ".."
Might still be easier to start from scratch, though! Not only will a proper editor produce better code, the neater HTML will be easier to read alongside the preview, so it will be easier to learn a bit about what the code is doing.
Community Veteran
Posts: 1,236
Registered: 02-08-2007

Re: all browsers work exept Chrome ?

If you want to work with websites, knowing HTML is a must. You absolutely have to understand what the code is doing. Best way is to start building sites with Microsoft Notepad. I know that sounds mad but that is how I started many years ago before discovering FrontPage and then even better, Dreamweaver.
Those early experiences with Notepad gave me an invaluable insight into HTML which is still incredibly useful even when working with the best web authoring software like Dreamweaver.