English 中文(简体)
IE6
原标题:CSS breaks in IE6

I hae the following CSS selectedor:

.section h1,
.section > div:first-child
{
 background-color: #E5E5E5;
 border-bottom: solid 1px #CCCCCC;
 padding: 3px;
 text-align:left;
 font-weight:bold;
}

现在我知道,第一胎和“gt子”选择人不是在IE6工作,而是在第1节工作。 我的问题是,在IE6, 第 h1节由于“section”而不适用;第(4)条:第一胎。 在不打断独立实体的情况下,没有两度说明整个风格,是有什么办法?

最佳回答

将它们归入适当的申报。 OR还更好地利用有条件的评论,在你主要发言之后仅列入一个e6风格表格,其中仅载列的相同定义。

问题回答

Yep说,将它们分开,作为数字语。 由于教育学会不承认“:第一儿童”,它只是“jumps”,并且继续着下一个宣言。





相关问题
CSS working only in Firefox

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....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

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 ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!