Pages failing to load... - Post ID...

User 528054 Photo


Registered User
209 posts

Hello

I have many pages that recently have failed to load..

I have been trying to understand why.

For nearly 3 years the pages have worked well and reliably at all times.

Could I ask, as I have two ways of displaying a photo albums on the site, in an iframe, and i would like to know if either way is fine or, is one or the other bad practice.

I ask this, because when changing the html code from the example in line 1, to the code in line 2,
all worked fine again, however as i mentioned, the code in line 1 has always worked well.

The snippets here are from a page that would not load when line 1 was used, on replacing with line 2,
the result was immediate.
If both lines are acceptable, could my browser be at fault, all browsing history has been cleared.

As I have asked already, is one bad practice?

Thanks
Peter


1..... <li><a href="yourBuggys-Fran.html" target="_top">Fran</A>

Line 1 above, was replaced with line 2...

2..... <li><a href=http://www.manxmaniac.co.uk/yourBuggys-Fran.html target="_top">Fran</A>
User 562592 Photo


Registered User
2,038 posts

could you post the web address where you are having the issue so we can take a look at all of the code involved?
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 364143 Photo


Guest
5,410 posts

Both absolute and relative paths will work. It doesn't matter. But you have some errors in #2. Try this.

<li><a href="http://www.manxmaniac.co.uk/yourBuggys-Fran.html" target="_top">Fran</a></li>
CoffeeCup... Yeah, they are the best!
User 562592 Photo


Registered User
2,038 posts

unless you just fixed it, it works fine in my browser (Firefox)
The philosopher has not done philosophy until he has acted upon the mere conviction of his idea; for proof of the theory is in the act, not the idea.

My Web Development Company: http://www.innovatewebdevelopment.com (Created with Coffee Cup Software).

My Personal Website: http://www.EricSEnglish.com

User 528054 Photo


Registered User
209 posts

Thankyou for your replys.

Thas an interesting point about the missing </li>, I did put that
at the end of each relevant line, however, after 'previewing' from within
CoffeeCup html editor, and then returning to
the code editor, CoffeeCup removes them all....

No matter what i do, CoffeCup 'always' removes them....

I have sent the web address to others, and they can see it fine also, oddly enough so can i now,
and thats why i wondered whether it was a browser issue.

All history was deleted and yet it still persisted. Its back to normal now, but I would very much like to hear your thoughts about the automatic removal of </li> by the CoffeeCup editor...
As I would like to include them in the html

Here is the page, i have absolubte full paths to other pages there now, and you can see all the missing </li>

http://www.manxmaniac.co.uk/yourBuggysAtoZ-3.html

Peter
User 147665 Photo


Ambassador
712 posts

maybe check the tools > preferences > General[tab] in the html editor and see that the initial document mode is 'code editor'
---possibly if it was set to 'visual editor', the code could be altered at save--
maybe,just thinkin out-loud here.

User 187934 Photo


Senior Advisor
20,271 posts

I've seen the auto changing of code in HTML2010. Not sure how to shut it off.:/ When I observed it I was changing some links that all pointed to the same domain and after I changed one HTML 2010 started changing all them for me.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,271 posts

In HTML2010 code completion can be turned off and on by clicking "Tools" then "preferences" uncheck the box that says code completion.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

Another couple things to mention, not sure it will have any bearing on the code being removed on you, which is very strange as I don't think I've ever seen the HTML Editor d that myself lol.

Anyways, all your </A> tags are in caps, you should make them lower case to match the first part of it's tags, I don't know if it hurts anything, but it sure looks weird.

Also, you should put that navigation section within a set of <div></div> tags. Here again I don't know if it will affect the tag removal problem, but that would be much cleaner code etiquette for HTML rather than just raw navigation within the body.

I am still checking your code and can see no reason why it won't let you use the correct linking structure, you really shouldn't have to have the full URL pathway to your own site for all the links.

Personally I'm thinking there's something somewhere else on your site that is probably giving you the issues that we just can't find. I've had things like that happen where it had some small little piece of code in the beginning or middle area of the page that would mess everything up and make things go awry like they are doing for you. Still looking lol, something's gotta give eventually :)

**EDIT**
Grasping at straws here but could it be the Doc Type? The one that the HTML Editor default uses doesn't look like what you have. I dont' know a lot about them, just noticed the ones on the pages I use from some templates others have created look like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Try that and see?
User 147665 Photo


Ambassador
712 posts

I would have to check the markup manual .. but.. I think it's actually correct to have no closing tag on<ul><li> untill the last <li>, then it has the close tag</li></ul>

but I do put them in my lists, and it never took them out. It probably is the doctype, glad they changed that in html 5


Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.