Page 1 of 1

some oddity in html.. need help

Posted: Wed Apr 09, 2003 10:40 am
by lc
Pfff... ok I made someone a site and somehow it doesn't work right.

I can't seem to figure out what it is. I use php as a backend and it all seems to work right, but if you look at the source of the page below you can see that there are lots of links in it, but they don't show as links in your browser. It used to work and should work fine. I have no idea why this doesn't work.

http://studiocinqo.com/tinekeporck/


like this one

Code: Select all

<a href=index.php?nr=3>Tineke Porck</a>
I know it would be neater with quotes but it shouldn't be nessecary.

If someone could help me out I'd be much obliged, I don't feel like redoing the entire site.

Posted: Wed Apr 09, 2003 10:51 am
by twigletmac
Have you tested it with the information in quotes?

Mac

Posted: Wed Apr 09, 2003 11:53 am
by lc
of course I have! :wink: doesn't make any difference whatsoever.

Thing is that I do all my coding in textpad nowadays, I don't even have a html editor installed. I figure if someone has dreamweaver or somesuch installed and they paste the source code of that page in there, they'll instantly see the error... maybe?

Posted: Wed Apr 09, 2003 12:39 pm
by twigletmac
I thought you probably had tested it, just thought I'd check - in case :wink:

I was a bit confused because when I viewed the source code in my editor (Editplus) the line breaks were all messed up - it looked like it considered all the text to be unbroken, i.e. it was considering spaces to be normal characters and not word separators. It was incredibly strange and I fixed it by selecting on of the spaces within the main text and using Find and Replace to replace it with a space that I typed in. It worked so I think there's something funky about your spaces...

Mac

Posted: Wed Apr 09, 2003 12:50 pm
by lc
Damn you're right... I opened the file with all the "main text" in it... selected a space, pasted that into the find&replace and replaced them with a regular typed in space... voila.

I think it's the aftereffect of something I had in there... the woman wanted to make some neatly arranged lists and she knows 0 html so I made it convert spaces to &nbsp so that she could allign things neatly... it worked for a bit, then odd things started to happen so I removed that bit of script and had it all changed to regular spaces again... but there must have been some sort of odd flaw in there.

Or DUH... converting all spaces into &nbsp is silly since you don't want that tag inside your html tags... I'm an idiot. still odd that it stayed wrong after I switched it all back.

I'm still baffled, but at least it's fixed now, and there's no problems with her edits either... it's all grand, just need to explain to her how to make lists hehe.

Thanks Mac!!!!!!!!! you've been a gigantic help!