This is a discussion on "Link Troubles" within the Web Page Design section. This forum, and the thread "Link Troubles are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Link Troubles
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Link Troubles
How come when I preview the page in the browser each one of these links when clicked on except for approach goes to industryaffiliations.html
|
|
#2
|
|||
|
|||
|
Re: Link Troubles
There is no immediately obvious reason.
Are you previewing on your own system or on a hosted system? If it's the latter, gives a link so we can see the pages and there code. |
|
#3
|
|||
|
|||
|
Re: Link Troubles
Its on my own system...
Here is the css for the sidenav if this helps
|
|
#4
|
|||
|
|||
|
Re: Link Troubles
What is with all the non breaking spaces? This would be much more efficient as a styled list. Not what you wanted to know but eh..
<ul class="sidenav"> <li><a href="approach.html" class="sidenav">OUR APPROACH</a></li> <li><a href="safety.html" class="sidenav">Safety</a></li> <li><a href="projectcontrols.html" class="sidenav">Project Controls</a></li> <li><a href="industryaffiliations.html" class="sidenav">Industry Affiliations</a></li> </ul> Then style it with CSS accordingly.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#5
|
||||
|
||||
|
Re: Link Troubles
I'm assuming the non-breaking spaces were just to move the text over. In moojoo's code (which is what you should be using), you can add padding to do the same thing:
|
|
#6
|
|||
|
|||
|
Re: Link Troubles
Styling niceties aside, they are niether the cause nor solution of the problem described.
If you are able upload the page with its problem links and see if you have the same problem and also give us the link. This looks like redirection but the question is what's causing it. |
|
#7
|
|||
|
|||
|
Re: Link Troubles
I posted the page online and the links work fine. Why is it having problems with redirection on my system only?
|
|
#8
|
|||
|
|||
|
Re: Link Troubles
Beh windows... No idea why it wouldn't work locally, I bet the address bar would tell you in the file://hdjkhdajkdajk/dhasjhajk/foo.html whatever
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#9
|
|||
|
|||
|
Re: Link Troubles
I hate to say it, but i am running osx. It does sound like something stupid windows would do though.
|
|
#10
|
||||
|
||||
|
Re: Link Troubles
I use the built-in Apache server daily and have never experienced a problem like that. Might've just been a fluke.
|
|
#11
|
|||
|
|||
|
Re: Link Troubles
OS X I can help you with!
Are the files in HD/Library/Web Server/Documents? And do you have web sharing enabled in the sharing prefs pane? I have PHP, MySQL etc all stored locally for various testing things, have a few CM's installed to play with etc etc.. If the above two mentuioned things are done then it should work.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#12
|
|||
|
|||
|
Re: Link Troubles
Now I have my nav list set up like so:
|
|
#13
|
|||
|
|||
|
Re: Link Troubles
instead of using a <br> in the list use <li> </li> also you can apply classes to individual li's for different margins, padding etc.. Are the links at least working now?
i.e. .sidenav li.foo a { }
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| having some troubles | luv2php | PHP Forum | 7 | May 26th, 2008 06:40 |
| IE Troubles | MotorManiac | Web Page Design | 0 | May 11th, 2008 01:01 |
| IE troubles and more, what else is new | Maverick25r | Web Page Design | 4 | Oct 18th, 2006 18:40 |
| PHP Troubles | Maverick25r | PHP Forum | 1 | Sep 1st, 2006 04:22 |
| IE troubles | Maverick25r | Web Page Design | 2 | Jul 25th, 2006 00:34 |