Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: error 400
09-17-2007, 05:20 AM #1
- Join Date
- Sep 2007
- Thanked 0 Times in 0 Posts
I'm pretty new to HTML and have been lumbering through trying to make a website for my employer.
I'm getting an error 400 when i load the page sometimes. Also some images sometimes don't load on first go. Which requires reloading the page.
My search has told me that error 400 and images not loading are related and could be put down to bad coding on my part. Which is no surprise really.. but i dont know exactly where i'm going wrong.
this is the website im working on
and this is a another page where i have been experiencing problems like ive described.. there is very little code on this page so i was hoping that somebody might be able to look at it to see if anything jumps out at them as the problem that is casing the error and failing to load images sometimes.
thank you very very much for any help!
09-17-2007, 12:57 PM #2
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
Why doesn't your company hire someone who knows what they are doing?
Anyways you have this on a few of your pages
It should look something like thisCode:<link href="../Documents/••Pesaro/•• website/text.css" rel="stylesheet" type="text/css" /> <body bgcolor="#000000"> </head> <body>
Notice how its trying to load a stylesheet from your own computer though you have the correct link to the stylesheet at the top of the page. Also on some servers filenames and file paths are case sensitive.Code:<link href="../Documents/••Pesaro/•• website/text.css" rel="stylesheet" type="text/css" /> </head> <body>
You have this
but when viewing the image I get thisCode:<img src="../Images/Pesaro2.gif" width="473" height="53" border="0">
images/pesaro2.gif, notice the capitalization?
Finally you are using tables for page layout. Tables aren't meant to be used for page layout. I suggest you read the link in my sig titled "Why Tables for Page Layout is Stupid?".
Also you should learn to use the validator. http://validator.w3.org
It will catch all of your coding mistakes.