PDA

View Full Version : A Firefox bug, not in IE6!


LoisWakeman
08-23-2005, 03:29 AM
Well, I had to find one one day! I've been making a page for an Open Studio I am hosting, and used empty anchors <a name="blah" id="blah /> in the page. IE shows them correctly, but FF, although it actions them, shows the hover colour on the blocks following the in-page link list, as if they weren't closed properly. Just thought you might like to know.

(You can see what I'm on about at http://lois.co.uk/NineDaysofArt/ - the camel case is to stop the unfortunate juxtaposition not spotted by whoever dreamed up the name!)

dthomsen8
08-23-2005, 06:57 AM
Well, I had to find one one day! I've been making a page for an Open Studio I am hosting, and used empty anchors <a name="blah" id="blah /> in the page. IE shows them correctly, but FF, although it actions them, shows the hover colour on the blocks following the in-page link list, as if they weren't closed properly. Just thought you might like to know.
Ah, but can you report this problem to the Firefox developers? They are far more likely to fix it promptly than the Microsoft (user deaf) developers.

LoisWakeman
08-23-2005, 09:03 AM
Life is too short - I am up to my oxters in work of various kinds just now. As you say, I am sure they'd fix it.

dacoyle
08-23-2005, 09:26 AM
Well, I had to find one one day! I've been making a page for an Open Studio I am hosting, and used empty anchors <a name="blah" id="blah /> in the page. IE shows them correctly, but FF, although it actions them, shows the hover colour on the blocks following the in-page link list, as if they weren't closed properly. Just thought you might like to know.

(You can see what I'm on about at http://lois.co.uk/NineDaysofArt/ - the camel case is to stop the unfortunate juxtaposition not spotted by whoever dreamed up the name!)

Lois,

Try closing the tag with </a> instead of doing it self closing. It may validate your way on W3C, but I also test with the CSE validator also. I tried a test with a self-closing <a> tag and got the following error:
The "a" tag should be closed by using an end tag (like </a>). It should not be closed by adding a slash to the end of the tag (<a ... /> is not recommended). Note that this may be technically valid according to XML parsers and validators but it may not be technically valid according to the XHTML specification because all elements that are not declared as EMPTY must have an end tag. In any case, it is highly recommended that you use an end tag for backward compatibility. Even newer browser such as Internet Explorer 6.0 may have problems displaying your page correctly if you do not use a separate end tag.
I'm guessing it is not a bug in FireFox. FireFox just doesn't see the <a> tag closing so is using the hover attribute on the text following the open <a> tag. It's more likely IE is reading the code incorrectly. But isn't that usually the case? ;>

dthomsen8
08-23-2005, 12:25 PM
"OXTER
This word is Anglo-Saxon in origin and means armpit. If a rugby match on TV shows a particularly muddy field, the players could be described as ''up to the oxters in mud''. In fact, if you're ''up to the oxters'' in anything, it means you're deep in it - whether it is water, mud or work!
If your new shirt is tight under the oxters, you should have bought one with more room in the armpits!"


Oh, the new terms I learn by being in this forum with the English and the Aussies! Definition above provided by Googling OXTERS for the benefit of Americans.

ktinkel
08-23-2005, 12:28 PM
"OXTER … Oh, the new terms I learn by being in this forum with the English and the Aussies! Definition above provided by Googling OXTERS for the benefit of Americans.Thanks for doing that. I wondered what Lois meant, then decided the general meaning was obvious (if the derivation was not), but it is nice to have it properly defined.