Page 1 of 1

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

Posted: Tue 30. Jan 2007, 02:52
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,

Posted: Tue 30. Jan 2007, 05:24
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>

Posted: Tue 30. Jan 2007, 12:47
by Will
Great! Thanks DeXXus! That should solve my problem.

All best,