i 显示有问题:一线和显示:一栏和24. ......
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
i 显示有问题:一线和显示:一栏和24. ......
您可使用 有条件评论将CSS的档案装上只由互联网探索者装上。 例如:
<!-- main stylesheet for all browsers (uses display: inline-block) -->
<link href="main.css" media="screen" rel="stylesheet" type="text/css" />
<!-- overrides for IE 7 and earlier (uses display: inline where necessary) -->
<!--[if lte IE 7]>
<link href="main-ie.css" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
<!-- overrides for IE 6 and earlier (uses display: inline where necessary) -->
<!--[if lte IE 6]>
<link href="main-ie6.css" media="screen" rel="stylesheet" type="text/css" />
<![endif]-->
Here is a good overview of CSS browser hacks: http://brainfart.com.ua/post/css-hacks-overview/
我猜测第4、8或9节可以适用于你的案件。
IE7 and below don t support inline-block. 但有简单的工作。 简言之,作为一线锁,是像一块块一样,但按行一致的一个要素,你只需要告诉独立实体,它是一个直线元素(IE idiossincracy)。 因此:
.el { display:inline-block; *display:inline; *zoom:1; }
你们有! 确实简单。 你们也可以使用有条件的评论,避免 star。 我个人使用保罗·爱尔兰的超声声明() 之后,我特别针对IE7和以下目标:
.el { display:inline-block; }
.lt-ie8 .el { display:inline; zoom:1; }
国际笔会的问题是,它不适当地支持“在线锁定”。 因此,为了补偿,你必须提出这一要素。 因此,必须用“质子:两者”清除浮构件的集装箱,除非每一件都是固定的大小,例如菜单连接。
我更喜欢把每个浏览器所支持的字塔比为每个浏览器撰写个人风格表。
I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....
I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.
selectBox.selectCSS { background: url(/Images/replacementSelectBackground.png) top left no-repeat height:auto; } I have an issue in Safari only where the image is not rendering on top ...
How do you target specifically safari in css with styles?
Ive used the following css code to align my form elements: form { position:relative; } form input { position:absolute; left:11em; } However, the textarea element is not aligned correctly with the ...
So I ve got a menu with a hover/selected state and it loads fine in IE6/IE7. However when I scroll down the page and put the element outside of the viewport and then back in I get a broken image! I ...
I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...
I have defined my page footer in the css file as: #footer { position: absolute; height: 50px; text-align: center; background: #66CCCC; bottom: 0px; left: 0px; width: 100%; height: ...