I have been trying to fix the consistency problem found in IE and Firefox. Same as Opera and Safari, Firefox is able to accept button hover behavior and work perfectly fine. However, this button:hover is not working in IE 6 and IE 7, in fact in both IE button:hover behavior not existed at all.
Yeah, another alternative is I can use image hover bla bla bla, but that’s not the case. It’s just feel not satisfied to know this button:hover not working in IE.
Being honest, I did not invent the code myself to fix this issue. Thanks to Pseudo-Classes Fix for Internet Explorer!!! By implementing some jScript code in htc file, and includes this htc file in the css, the hover behavior for any html elements including button work in IE.
I solved the problem to render table in Firefox and IE, as our ICE user increased, some of the uses Opera and Safari (both running in Window). Bugs that I found in Safari is that if border is lesser than 1 px, the border will not be displayed at all. And if border-collapse: collapse style is not used for the table, the line of the border in between the cell will be inconsistent (some think and some thin). Different from Safari, Opera can support border that is lesser than 1 px, but the border-collapse: collapse; still need to be used.
In my “Playing with CSS and xthml document” post, I mention that when Firefox uses border-collapse: collapse; style the result is different again that’s why I have:
So in order to let all the browser to display the same result, use border beyond 1px and use border-collapse:collapse; (Firefox will behave if beyond 1px)
Solved displaying table in different browsers but same Operating System, now I need to do testing on different Operating System . At least I managed to close one ticket today. Cheers…
I have funny result when try to displaying below html file. The browser like Firefox, Safari and IE (so far that I have tested) give me wrong result. Be careful when use <htmlElement /> when you need to define empty element, it is safer when you do it with <htmlElement></htmlElement>. Your browser may interpret differently
This is my simple html file.
[html]
<table>
<tr><td>
<div id="table1">
<table border="1" summary="This table should be empty"/>here some text
</div>
</td></tr>
<tr><td>Some text</td></tr>
<tr><td>
<div id="table2">
<table border="1" summary="This is correct"></table>
<p>here some text</p>
</div>
</td></tr>
<tr><td>Some text2</td></tr>
<tr><td>
<div id="table1">
<table border="1" summary="This is correct because this table is empty"/>here some text
</div>
</td></tr>
</table>
[html]
<div id="table1">here some text
<table border="1" summary="This table should be empty">
<tbody>
<tr><td>Some text</td></tr>
<tr><td>
<div id="table2">
<table border="1" summary="This is correct"/>here some text
</div>
</td></tr>
<tr><td><Some text2</td></tr>
<tr><td>
<div id="table1">here some text
<table border="1" summary="This is correct because this table is empty"></table>
</div>
</td></tr>
</tbody>
</table>
</div>
I am not sure why Firefox in MacOs still display the unicode character differently although Lucida Grande is applied to font-family, this problem not existed when Safari, is used for the same Mac.
Border is displayed differently in IE and Firefox.
In order to get the same result as Firefox (this is the excepted result), wrap below code in head of html document (not, if you have style coded in html already, put below code separately):