Forum Moderators: open

Message Too Old, No Replies

Doctype

Internet Explorer

         

Alternative Future

9:10 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

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

Nick_W

9:13 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>under IE4 none of the anchor tags are click able!

Are they in absolutely positioned divs or something similar?

Nick

Alternative Future

9:25 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Nick,

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

Nick_W

9:34 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>Can you see anything wrong with that?

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

Alternative Future

9:41 am on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Will do Nick, might not be until next week before I get to do this as I don't have IE4 running at home where most of the work carried out on my site happens. I have to wait till the next day when I get into work so that I can use their testing machines :(

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

g1smd

9:20 pm on Aug 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is there some other HTML error getting in the way?

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.