View Full Version : BRAIN.MELTING.HELP.NEEDED
power fuse0
30-03-11, 15:31
Ok, so I'm building a site for someone, and I created a temporary website for him on my url for him to see what it looks like before he got his hosting.
But when I copied the code accross from my url to his new url one of the pages had a paddy and i really can't see why.
Can someone spot something missing in the code?
http://squidgytriangles.co.uk/temp/solarfit/images.php
http://solarfituk.com/images.php
really really can't see why it does it :(. im sure it's just the not closing of a div, or something like that, any one see it?
Ok, so I'm building a site for someone, and I created a temporary website for him on my url for him to see what it looks like before he got his hosting.
But when I copied the code accross from my url to his new url one of the pages had a paddy and i really can't see why.
Can someone spot something missing in the code?
http://squidgytriangles.co.uk/temp/solarfit/images.php
http://solarfituk.com/images.php
really really can't see why it does it :(. im sure it's just the not closing of a div, or something like that, any one see it?
Haven't looked in any detail, but I notice that one of them is in a /temp folder and the other isn't. Almost certainly that's the problem, it'll be a case of an absolute URL having been used for a CSS stylesheet path somewhere.
i found the top tab navigation on the images bit, moving down below the image on home/contact/about us etc not very intuitive. would be best if nav bar stayed at top as per images so can scroll accross all four tabs without taking mouse down screen.
<link rel="stylesheet" href="/scripts/css/style.css" />
that css isnt on squidgy triangles ....
This is going to sound weird but I think it's because your /temp one *isn't* styled.
For some reason you're using an "root" path in your CSS link (paths starting with / go from the web root, without are relative), I think what you wanted is:
scripts/css/style.css
not:
/scripts/css/style.css
Now in the /temp/ one, the CSS file doesn't exist in the location you've specified, because squidgytriangles.co.uk/scripts/css/style.css doesn't exist, but in the new one, that file (solarfituk.com/scripts/css/style.css) does exist and so is being included in the document.
Maybe try correcting that on your /temp site and seeing if the same problem shows up.
Edit:
<link rel="stylesheet" href="/scripts/css/style.css" />that css isnt on squidgy triangles ....
It is, he's just using / in front of his path incorrectly - http://squidgytriangles.co.uk/temp/solarfit/scripts/css/style.css
I haven't time to look in detail, so just posted the differences using a debug proxy :)
njcsolutions
30-03-11, 19:05
Nice site, I used to love doing raw sites, but now I use joomla and make custom templates alot easier and faster. msg me if u wanna know more.
power fuse0
30-03-11, 19:38
Nice site, I used to love doing raw sites, but now I use joomla and make custom templates alot easier and faster. msg me if u wanna know more.
I started using joomla, found kind of irritating really. Might want to know more though so that I have a broader knowledge base & can be more employable :D.
& thanks everyone, that has fixed it. jesus i really dont know why i didnt see that <_<
Added after 2 minutes:
Nice site, I used to love doing raw sites, but now I use joomla and make custom templates alot easier and faster. msg me if u wanna know more.
i found the top tab navigation on the images bit, moving down below the image on home/contact/about us etc not very intuitive. would be best if nav bar stayed at top as per images so can scroll accross all four tabs without taking mouse down screen.
It wouldn't bother you as much if you were interested in the content of the page. But I do see where you're coming from, I just thought having a slideshow at the top of an images page wasn't really worth having. I don't know, it's something to think about for future anyway.
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.