English 中文(简体)
从一个司调取其他科室
原标题:Accessing other CSS divisions from one division
  • 时间:2009-11-20 13:08:28
  •  标签:
  • css

我有一个被称为家庭服务中心的分局,它拥有某些特性,为家庭内部的 anchor头tag采取 h权行动:

#home a:hover
{
  background-image:url(images/template_03_1.png);
  position:relative;
  top:3.5em;
  left:0.5em;
}

现在,我想做的是,在上文界定的栏目中,如果在家庭司内的一个 anchor子上,我会改变家庭司的特性。 我知道这一点在 Java文中非常容易,但只有使用特别安全局是可能的。

Thanks, niting

最佳回答

如果我假定你想要:

#home a:hover
{
 #home.background-color: #fff;
}

如果是的话,那么:没有Java,甚至没有CSS3。 我们不能ed开他人的财产。

不可能再发生,因为你总是以最后选择的规则为风格,因此打上了<代码>#home a:hover。 封顶的风格,如果是 h,#home .class风格,则有class=">}/code>,并且是#home的代号。

换言之,不可能与科索沃警察部队的当选者重新接触(或我不知道......)。

问题回答

你可以尝试在<代码>#home上打上,但在IE(6)中赢得t工作。 不幸的是,你可以根据孩子们的假歌来打父母。 Java字对此非常重要。

如果在您的<代码>和>、A>、、中,你可以打上<代码><、A>、等同几个方面,如<代码>和>、DIV>、和、A>、





相关问题
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....

jquery ui dialog opens only once

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.

Drop down background url in Safari Issue

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

CSS specific for Safari

How do you target specifically safari in css with styles?

Aligning textarea in a form

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

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

CSS problem with page footer

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

热门标签