CSS does not work in IE... Works like a charm in FireFox

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

CSS does not work in IE... Works like a charm in FireFox

Post by Will »

Hello people,

I don't have a clue why my CSS is not working properly in IE... The menu at the left does not fire the click even when it shows the right destination file in the status bar of the browser.

It works as expected in firefox.

Anyone knows why this happen? And how could it be solved?

The site in question is:
http://www.cahorminsas.com

Thanks in advance,
Will
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Firefox often "tidies" web coding errors when it thinks it understands your intention. You need to place your anchors INSIDE the table for IE.

For example, instead of this:
<td valign="top" style="height:20px;" width="100%" colspan="2"><a href="?nosotros"><table width="140" height="22" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666"><tr><td height="22" bgcolor="#FFFFFF"> &nbsp;<span class="nav_table">La Institución</span></td></tr></table></a></td>
Try this:
<td valign="top" style="height:20px;" width="100%" colspan="2"><table width="140" height="22" border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#666666"><tr><td height="22" bgcolor="#FFFFFF"> &nbsp;<a href="?nosotros"><span class="nav_table">La Institución</span></a></td></tr></table></td>
Will
Posts: 55
Joined: Mon 9. Aug 2004, 05:30

Post by Will »

Great! Thanks DeXXus! That should solve my problem.

All best,
Will
Post Reply