开发者

Styling <select> Tag in IF IE 7 statement

开发者 https://www.devze.com 2023-03-22 08:25 出处:网络
I realize that IE is not as friendly with CSS styles on thedropdown in a form. On a page I am building here:

I realize that IE is not as friendly with CSS styles on the dropdown in a form. On a page I am building here: http://vpointproductions.com/html-code/clinique-css.html

I am trying to fix the dropdowns to be the same height in IE7 as it appears in FF, Saf, and Chrome. However, the image I am using in the CSS to make it work in those browsers is still app开发者_StackOverflow中文版earing in IE 7. I am trying to include an if statement for IE 7 to fix this issue but I am having no luck. The CSS i am using is here: http://vpointproductions.com/html-code/clinique-stylesheet.css


You could use conditional comments for targeting just IE7

<!--[if IE 7]>

    //place your styles here or a link to an IE7 stylesheet

<![endif]-->

Place this in the head of your document.

More info here: http://msdn.microsoft.com/en-us/library/ms537512(v=vs.85).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消