- From: Johan Kallum <johan.kallum.firedept@helsingborg.se>
- Date: Fri, 10 Jul 1998 10:03:10 +-200
- To: "'Style Sheet mailing list'" <www-style@w3.org>
Hi List, I am new to this list and have recently started to use CSS in my pages. I have problem with my A NAME tags that I don't know if its a browser interpretation fault or a CSS misstake. In my CSS file I have written: "BODY { color: black ! important; background: url(GIFs/relief4.gif) #DCDCDC !important; } H1, H2, H3, H4, H5, H6 { font-family: Albertus, "Albertus Medium", sans-serif } P { font-family: "Times New Roman", serif } A:link {color: blue; text-decoration: underline} A:visited {color: purple; text-decoration: underline} A:active {color: black; text-decoration: none} A:hover {color: red; text-decoration: none}" Its validated and should be OK (?!). When viewing a page (like: http://www.helsingborg.se/brand/brandsve.htm) it shows the A NAME tag differently in NN4 and IE 4. In IE4 it show as intended but in NN4 it gives underlined text inbetween A and /A. Is this right? Is there a work-around for this? A work-around could be to leave no space inbetween the opening and closing As. But I'm told that some browsers may interpred this incorrectly and it's recommended to have text betwwen the tags. Besides, I would have to change a lot of existing pages. So I'm hoping for some other CSS solutions. Thanks in advance, Johan
Received on Friday, 10 July 1998 04:02:52 UTC