Help needed on new site
Help needed on new site
Hi All
My first post and 2nd attempt at a web site - so please be gentle!!
I am after some advice, my new site was created in dreamweaver and previews fine in IE & Firefox. With the site loaded to the sever it seems to work OK in IE but the background on the index page and sliding image on the next page are not working in firefox. As a total newbe I don't know why. Also the slider images do not appear on some PC's using IE ?
Any help gratefully received
http://www.turkish-villa.pwp.blueyonder ... index.html
Thanks
John
My first post and 2nd attempt at a web site - so please be gentle!!
I am after some advice, my new site was created in dreamweaver and previews fine in IE & Firefox. With the site loaded to the sever it seems to work OK in IE but the background on the index page and sliding image on the next page are not working in firefox. As a total newbe I don't know why. Also the slider images do not appear on some PC's using IE ?
Any help gratefully received
http://www.turkish-villa.pwp.blueyonder ... index.html
Thanks
John
Wishing I was there
Paolo,
You think my head is big now? *blush* keep giving me compliments like that and my ego will soon match my supposedly-huge brain!
John,
Quite right -- I do see only a white background on your splash page. (And I use Firefox.)
Generally I would suggest getting rid of the splash page completely, since it isn't really necessary to your site. But leaving that aside...
I can view your background image by right-clicking on the page, so it's not that my browser can't find the image. It knows where the file is located on your server, and it knows it's supposed to be the page background. If I had to guess, I'd say that something in your code is forcing the table background to white, so that it's covering up the background image. I'm not sure what it is, but perhaps that 'mm:layoutgroup="true"' bit? I'm not sure what that's supposed to do.
On to the next page, I would be able to see the scrolling images (I think -- Firefox knows something is supposed to be scrolling) if Firefox could find the image files at all. But it can't, which I think is because the source code for those images reads: instead of just as one example. Change all those img tags and I'd bet the scrolling thing will work on all machines, whereas right now it only works on your computer, because your computer actually has those files located at that specific path.
Hope that helps?
After you get all the debugging stuff done, I'd suggest posting in the website reviews section!
You think my head is big now? *blush* keep giving me compliments like that and my ego will soon match my supposedly-huge brain!
John,
Quite right -- I do see only a white background on your splash page. (And I use Firefox.)
Generally I would suggest getting rid of the splash page completely, since it isn't really necessary to your site. But leaving that aside...
I can view your background image by right-clicking on the page, so it's not that my browser can't find the image. It knows where the file is located on your server, and it knows it's supposed to be the page background. If I had to guess, I'd say that something in your code is forcing the table background to white, so that it's covering up the background image. I'm not sure what it is, but perhaps that 'mm:layoutgroup="true"' bit? I'm not sure what that's supposed to do.
On to the next page, I would be able to see the scrolling images (I think -- Firefox knows something is supposed to be scrolling) if Firefox could find the image files at all. But it can't, which I think is because the source code for those images reads:
Code: Select all
<img src="file:///G|/htdocs/extra images/3601.jpg" border=0>
Code: Select all
<img src="extra%20images/3601.jpg" border=0>
Hope that helps?
After you get all the debugging stuff done, I'd suggest posting in the website reviews section!
Brooke
Hi Brooke
Thanks for your help, I have resolved the image slider issue by editing the code for image source as you suggested.
But after hours of playing I can not get my background image to display on the index page. It was working online earlier with IE but not firefox. As you say if you view the page content the image is there, but just does not show up. I have tried removing the code you highlighted and reduced the file name and changed / updated its folder but no joy.
Thanks again
Thanks for your help, I have resolved the image slider issue by editing the code for image source as you suggested.
But after hours of playing I can not get my background image to display on the index page. It was working online earlier with IE but not firefox. As you say if you view the page content the image is there, but just does not show up. I have tried removing the code you highlighted and reduced the file name and changed / updated its folder but no joy.
Thanks again
Wishing I was there
Gummus,
I think specifying the background image in the stylesheet instead of the body tag is the right thing to do; Tony and Garri are the local experts on CSS, but I would suggest removing the BGCOLOR tag from your body tag and changing your css file so that it reads:
Then, if that alone doesn't work, I suggest re-writing a basic version of the page, maybe in a new file (index2.html or something similar):
That code doesn't have anything suspicious that I can see, so it should display everything, though maybe not the way you want it. And from there, you can add things back in or change things around and see what happens at each step...
I think specifying the background image in the stylesheet instead of the body tag is the right thing to do; Tony and Garri are the local experts on CSS, but I would suggest removing the BGCOLOR tag from your body tag and changing your css file so that it reads:
Code: Select all
body {
background: #FFFFFF url(montbackground.jpg);
}
Code: Select all
<html>
<head>
<title>Gumusluk Villa Entrance</title>
</head>
<body bgcolor="#FFFFFF" background="montbackground.jpg" text="#000000">
<table width="100%" border="0" cellpadding="0" cellspacing="0" height="601" >
<tr>
<td width="171" height="91" valign="top"><img src="bayrak.gif" width="100" height="71"></td>
<td width="131"></td>
<td width="399"></td>
<td width="124"></td>
<td width="100%" rowspan="3" valign="top"> </td>
</tr>
<tr>
<td height="169"></td>
<td></td>
<td width="399"></td>
<td></td>
</tr>
<tr>
<td height="280"></td>
<td></td>
<td valign="top" width="399" rowspan="2"><a href="indexamended.html" ><img name="entrance" border="0" src="images/Turkish%20Villa_Enter%20Site2.gif" width="238" height="89"></a></td>
<td></td>
</tr>
<tr>
<td height="61"></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="1"><img height="1" width="168" src="/spacer2.gif"></td>
<td><img height="1" width="125" src="/spacer2.gif"></td>
<td><img height="1" width="392" src="/spacer2.gif"></td>
<td><img height="1" width="119" src="/spacer2.gif"></td>
<td></td>
</tr>
</table>
</body>
</html>
Brooke
Thanks again Brooke
I have got the page working now, and the problem seems to be the image. The background I have now working is an image that I compiled and reduced the transparency in photo shop before saving and optimising as a jpeg (was going to use as a background to home page)
http://www.turkish-villa.pwp.blueyonder ... index.html
To create my new splash page I used the original image but without reducing transparency, converting it to a JPG etc, the image shows up when you manually view background image, so its on the sever.
http://www.turkish-villa.pwp.blueyonder ... back1.html
the same source code but different image
http://www.turkish-villa.pwp.blueyonder ... back2.html
So proves it the image, I have tried re-saving and modifying but to no avail, any thoughts anyone
Thanks
John
I have got the page working now, and the problem seems to be the image. The background I have now working is an image that I compiled and reduced the transparency in photo shop before saving and optimising as a jpeg (was going to use as a background to home page)
http://www.turkish-villa.pwp.blueyonder ... index.html
To create my new splash page I used the original image but without reducing transparency, converting it to a JPG etc, the image shows up when you manually view background image, so its on the sever.
http://www.turkish-villa.pwp.blueyonder ... back1.html
the same source code but different image
http://www.turkish-villa.pwp.blueyonder ... back2.html
So proves it the image, I have tried re-saving and modifying but to no avail, any thoughts anyone
Thanks
John
Wishing I was there
- Alan Knighting
- Posts: 4120
- Joined: Mon Oct 18, 2004 7:26 am
- Location: Monflanquin, Lot-et-Garonne, France
There's two questions here. Why doesn't John's splash page work and why would anyone want one in the first place?Garri wrote:The splash page is pointless - it would actually provoke me to move on. On to another site!
Technically, the first should be resolved on the basis that all coding problems should be resolved.
Technically and aesthetically, the second one should be abandoned on the basis that splash pages contribute nothing.
Alan
The image is created in Paint shop pro as a .psp image where I then decreased the transparency and exported as jpeg to initially use as a back ground for my home page.
This image with some text was just too busy so I have gone for a plain background but really wanted to use the montage of images to give a visitor an instant feel for the place and hopefully inspire them to look more. I do agree with the points generally about entrance pages being a waste of time.
But what I cannot work out is the image initially created and now being used works but another jpeg created the same way does not?
Thanks all
This image with some text was just too busy so I have gone for a plain background but really wanted to use the montage of images to give a visitor an instant feel for the place and hopefully inspire them to look more. I do agree with the points generally about entrance pages being a waste of time.
But what I cannot work out is the image initially created and now being used works but another jpeg created the same way does not?
Thanks all
Wishing I was there
Problem now sorted, thanks to those who replied.
The solution was the same as for another problem I had on partial loading images
viewtopic.php?t=1291
My FTP server (opus) was only uploading a max of 32kb of an image, as this was a background that was only partialy loaded it would not display
keep up the good work
john
The solution was the same as for another problem I had on partial loading images
viewtopic.php?t=1291
My FTP server (opus) was only uploading a max of 32kb of an image, as this was a background that was only partialy loaded it would not display
keep up the good work
john
Wishing I was there