You are here: style not working in IE « HTML « IT news, forums, messages
style not working in IE

Posted by WJ on 10/19/05 07:50

This sample works in Firefox, but not in IE 6.x. I can't figure out the
problem.
Any input would be appreciated. On the hover, I expect the text to turn red
and the weight to turn bold.



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<title>Test</title>


<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">

<style type="text/css">

..labelcell {
color : Black;
background-color : #e2f1b6;
font-family : Verdana, Arial, Helvetica, Sans-serif;
font-size : 10px;
font-weight : normal;
line-height : 15px;
text-align : center;
border-right: #afc863 1px solid;
padding-right: 2px;
border-top: #74a403 1px solid;
padding-top: 2px;
border-left: #afc863 1px solid;
padding-left: 2px;
border-bottom: #74a403 1px solid;
padding-bottom: 2px;
}

..linkcell a:visited {
FONT-WEIGHT: normal; COLOR: #000000; TEXT-DECORATION: none
}

..linkcell a:hover {
FONT-WEIGHT: bold; COLOR: #FF0000; TEXT-DECORATION: underline
}
</style>


</head>
<body>


<table border="0" cellspacing="2" cellpadding="0" width="780"
align="center">
<tr>
<td class="labelcell">
<span class="linkcell"><a
onclick="javascript:getDetail(1)">View</a></span>



</td>
<td colspan="4" class="list_link_filler">&nbsp;</td>
</tr>
</table>

</body>
</html>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация