Setting CSS IE browser

<html>
<head><title>IE CSS</title>
<link href="ie.css" rel="stylesheet" type="text/css"/>
</head>

<body>

<div id="search">
<!--[if IE]>IE SO CRAP<![endif]-->

<form action="" method="post" name="ctem_3_fm" onSubmit="">
<input name="_3_keywords" type="text" value="" 
style="border:none;width:272px;height:37px; 
background: url('bg_search.gif') no-repeat top left;"/>

<!--[if IE]><input title="Search" 
src="icon_search.gif" 
type="image" value="" 
style="position:absolute;margin-top:1px;"/>
<![endif]-->

<!--[if !IE]><!-->
<input id="ie_crap" title="Search" 
src="icon_search.gif" 
type="image" value="" 
style="position:absolute;"/>
<![endif]-->

</form>
</body>
</html>

Published by

G3n1k

just to remember what i had known :)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s