Forum Moderators: open
Can anyone tell me what DOCTYPE header should be in place for a website to run without any hiccups in IE4?
Problem: when viewing the site under IE4 none of the anchor tags are click able!
Perhaps it’s nothing to do with the DOCTYPE but I cannot think of anything else I have done to it since I last tested it in IE4.
Any help on this matter is appreciated.
-gs
No, only thing I can see is that they use an external style rule, see below:
page.html
<table>
<tr>
<td><a class="classAnchor" href="here.html">Here</a>
</td>
</tr>
</table>
stylesheet
.classAnchor:link{
font-family: Verdana, Arial;
font-size: 10px;
font-weight: bold;
color: blue;
text-decoration:underline;
}
.classAnchor:hover{
font-family: Verdana, Arial;
font-size: 10px;
font-weight: bold;
color: #000066;
text-decoration:none;
}
.classAnchor:active{
font-family: Verdana, Arial;
font-size: 10px;
font-weight: bold;
color: #000066;
text-decoration:none;
}
.classAnchor:visited{
font-family: Verdana, Arial;
font-size: 10px;
font-weight: bold;
color: #000066;
}
Can you see anything wrong with that?
Thanks for your help.
KR,
-gs
No, but then I don't have that much experience with IE4
I'd suggest that your best bet is to 'play detective' ;) - Start by taking out the stylesheet altogether to see if it is somthing in the CSS. If so, eliminate each rule one by one....
If not, chage doctype, and please fill me in on what you find?
Nick
But next week will see the arrival of a new homePC so I will deploy IE4 onto one of the older machines :)
But I will certainly let you know the outcome for better or worse :)
KR,
-gs
Check you HTML to version 4.01 using [validator.w3.org...] . Correct all errors and then try it against HTML 3.2
I guess the CSS might be messing it up, but check for typos in the HTML first.