Strange IE7 behaviors(or not)

I see no reason why this shouldn't work in all browsers, here is my css for anchor tag :

.myButton{
background:none repeat scroll 0 0 #FFFFFF;
border:1px solid #D8DFEA !important;
color:#3B5998;
cursor:pointer;
font-size:20px;
padding:10px;
}

Here is how it looks in IE7 :

alt text http://i43.tinypic.com/2a5lnkn.png

And here is how it looks in other browsers :

alt text http://i39.tinypic.com/2pq3sw4.gif

HTML is nothing unusual as well :

<a href="#" class="myButton">Beta</a>

All of this is inside table, this anchor html is wrapped around with :

<tr>
   <td><a>...</a></td>
<tr>

I don't think this has to do it with anything but I mentioned it just in case, so the button is missing border top, any indications what might cause this?

Answers


If the usual zoom:1; isn't working try float:left; or display: inline-block;vertical-align: top; but the first thing id do is serving IE7 margin-top:1px or position:relative;. You probably just need to trigger the magic HASLAYOUT.

As an alternative you could style the TD instead.


Need Your Help

iOS -- look inside provisioning profile?

iphone ios code-signing code-signing-entitlements

Is it possible to inspect the insides of a provisioning profile? I am dealing with a code signing error because the entitlements do not match. Fixing this is rather difficult as I don't know how to

Mining Groups of people from Wikipedia

wikipedia web-crawler

I am trying to get the list of people from the http://en.wikipedia.org/wiki/Category:People_by_occupation . I have to go through all the sections and get people from each section.