html - How to apply css logic -
this question has answer here:
- different css each browser? 4 answers
i want different css different browser.
for ex:-
i want width 25.5%
in chrome , 24.4%
in ie. should do
here html:-
<tr> <td id="flattdhist" runat="server" class="label" style="width: 25.5%; font-size: 120%; font-family: courier new; float:left;"> flat status history </td> </tr>
currently working fine chrome
, inie
getting disturbed. should do
you may need create separate stylesheet , use conditional comments each if need target specific ie version.
<!--[if ie]> <link rel="stylesheet" href="forieonly.css"> <![endif]-->
please refer: https://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx
Comments
Post a Comment