gpt4 book ai didi

javascript - 表格行数据没有扩展到足以在悬停时更改背景颜色

转载 作者:行者123 更新时间:2023-11-28 06:53:18 27 4
gpt4 key购买 nike

我对 CSS 非常陌生

我的悬停结果很差。见下图:

enter image description here

如果你看黄色在上面的灰色边框结束之前就已经结束了。

                <div class="section2">
<div class="bannersection">
<h2 class="sectionlabel"><xsl:value-of select="/*/hundreds/highestreviews/label" /></h2><a href="/top/highestreviews"><span class="reviewlink" style="margin-right:390px">View Clubs</span></a>
</div>
<table class="featuredclub" id="featuredclub-highestreviews">
<tr>
<td width="10%" class="rating"><div class="ratingnumber"><span class="ratingpositiontext">#1</span></div></td>
<td width="15%" style="margin-left:0px;margin-top:1px" class="imagetd"><div class="ratingimage"><div style="margin-top:6px"><img style="height:80px;width:80px" class="featuredavatar" src="/img/featuredtmp.png" /></div></div></td>
<td width="75%" style="text-align:left;margin-left:10px">
<span class="featuredclubname"><xsl:value-of select="/*/hundreds/highestreviews/featuredclub/name"/></span>
<span class="featuredclubaddress"><xsl:value-of select="/*/hundreds/highestreviews/featuredclub/address"/></span>
<span class="featuredclublocality"><xsl:value-of select="/*/hundreds/highestreviews/featuredclub/city"/>, <xsl:value-of select="/*/hundreds/highestreviews/featuredclub/state"/> <xsl:value-of select="/*/hundreds/highestreviews/featuredclub/zip"/></span>
<div class="featuredclubphone"><xsl:value-of select="/*/hundreds/highestreviews/featuredclub/phone"/></div>
</td>
</tr>

</table>
<p class="clear"></p>
<table width="95%" cellpadding="0" cellspacing="0" style="margin-left:-50px">
<xsl:for-each select="/*/hundreds/highestreviews/contendors/contendor">
<tr>
<td align="right" width="60%"><span style="margin-right:25px" class="clubname" id="highestreviews-{./locid}-{position()}"><xsl:value-of select="./name"/></span></td>
<td align="right" width="35%">
<div class="progress-fill" style="margin-left:5px;width:{./pixelweight}px"></div>
</td>
<td align="right" width="5%"><span class="value" style="margin-left:15px;"><span style="font-weight:bold"><xsl:value-of select="./numberval"/></span></span></td>
</tr>
</xsl:for-each>
</table>
</div>
<p class="clear"></p>
</div>

这是我的 CSS:

    @CHARSET "ISO-8859-1";

span.value {
margin-right:-10px;
}
.viewallbutton{
display:inline;
margin-top:2px;
margin-left:2px;
}
h2.sectionlabel{
display:inline-block;
}
.banner{
position: relative;
background-color: #ffffff;
width: 1200px;
height: 66px;
margin: 0px auto;
padding-top:15px;
padding-bottom:0px;
padding-left:16px;
padding-right:25px;
box-sizing: border-box;
/**
border-top: 1px solid #d0d0d0;
border-left: 1px solid #d0d0d0;
border-right: 1px solid #d0d0d0;
border-bottom:none;
*/
border:0px;
border-bottom:1px solid #f0f0f0;
font: 14px/20px Arial, Helvetica, Sans-serif;
}
.banner h2{
font: 32px/32px DinWebCond, Sans-serif;
color: #120006;
margin: 0px 0px 5px 0px;
text-transform: uppercase;
padding-top:5px;
padding-bottom:15px;
}
div.banner-container1{
width:90%;
height:50px;
background-color:#f0f0f0;
padding-left:25px;
}
div.banner-container2{
width:90%;
height:50px;
background-color:#f0f0f0;
padding-left:25px;
/**padding-left:25px;*/
}
div.banner-container div.innerclubbox{
background-color:#ffffff;
}
.tabledatalabel{
font: 20px/24px DinWebCond, Sans-serif;
color: #606060;
margin: 0px 0px 5px 0px;
/**text-transform:capitalize;*/
padding-top:5px;
}
.row {
position: relative;
/**height: 750px;*/
height: 450px;
background-color: #ffffff;
width: 1200px;
margin: 0px auto;
/**padding-top:20px;*/
padding-top:10px;
padding-bottom:0px;
padding-left:0px;
/**padding-right:25px;*/
box-sizing: border-box;
/**border: 1px solid #d0d0d0;*/
font: 14px/20px Arial, Helvetica, Sans-serif;
}
p .clear{
clear:both;
}

.section1 .featuredclub{
width:100%;
height:100px;
background-color:#f0f0f0;
font:14px/20px AdlWebNorm, Sserif;
}

.section1 table.featuredclub,
.section2 table.featuredclub{
width:100%;
height:111px;
background-color:#f0f0f0;
font:14px/20px AdlWebNorm, Sserif;
margin-top:-5px;
/**margin-left:25px;*/
margin-bottom:10px;
}

.section1 table.featuredclub .rating,
.section2 table.featuredclub .rating {
/**margin-top:-5px;
margin-left:25px;
margin-bottom:10px;*/
/**background-color:#ffffff;*/
width:71px;
height:71px;
}

.section1 table.featuredclub .image,
.section2 table.featuredclub .image {
/**margin-top:-5px;
margin-left:25px;
margin-bottom:10px;*/
/**background-color:#ffffff;*/
width:71px;
height:71px;
margin-left:0px;
}
.ratingnumber{
font-size: 42px;
margin-left:16px;
width:80px;
height:80px;
background-color:#ffffff;
/**padding-left:15px;
padding-top:15px;*/
}
.section1 .featuredclub span,
.section2 .featuredclub span {
line-height: 85px;
}
.ratingpositiontext{
margin-right:15px;
margin-top:55px;
}
.section1 table.featuredclub .rating div.ratingimage,
.section2 table.featuredclub .rating div.ratingimage{
font-size: 26px;
margin-left:0px;
width:80px;
height:80px;
background-color:#ffffff;
}
.section1 .featuredclub .featuredtext{
width:100%;
height:100px;
background-color:#f0f0f0;
font:14px/20px AdlWebNorm, Sserif;
display:inline-block;
}

.section1 .featuredclub span p.rating{
margin-top:-5px;
margin-left:25px;
margin-bottom:10px;
background-color:#ffffff;
width:71px;
height:71px;
/**display:inline;*/
}

.section1 .featuredclub span p.text{
margin-top:-5px;
margin-left:5px;
margin-bottom:10px;
background-color:#ffffff;
/**width:71px;*/
height:71px;
display:inline;
}

.section2 .featuredclub{
width:100%;
height:100px;
background-color:#f0f0f0;
font:14px/20px AdlWebNorm, Sserif;
}

.section1 .featuredclub span.featuredclubname,
.section2 .featuredclub span.featuredclubname
{
clear:both;
color:#120006;
float:left;
font: 22px/22px DinWebCond, Sans-serif;
}
.section1 .featuredclub span.featuredclubaddress,
.section2 .featuredclub span.featuredclubaddress
{
clear:both;
float:left;
font: 14px/20px AdlWebNorm, Serif;
color: #000000;
}
.section1 .featuredclub span.featuredclublocality,
.section2 .featuredclub span.featuredclublocality
{
clear:both;
float:left;
font: 14px/20px AdlWebNorm, Serif;
color: #000000;
}
.section1 .featuredclub div.featuredclubphone,
.section2 .featuredclub div.featuredclubphone
{
position: relative;
clear:both;
float:left;
font: bold 12px/12px Arial, Helvtica, Sans-serif;
margin-top:2px;
height: 18px;
font: bold 14px/14px Arial, Helvetica, Sans-serif;
padding: 1px 0px 0px 22px;
margin-right: 10px;
background: url(data:image/gif;base64,R0lGODlhEgASALMAADMzAJmZZv///8/Pz87OzszMzJmZmWlpaWZmZjMzMwAAAAAAAAAAAAAAAAAAAAAAACwAAAAAEgASAAAEWFDISatNiCaVjBWIonhSsHEEZYgKYK3KMLEiiUkFN9OFUJyelY3V0ygkOh+xkstsJqeERWeQ7hTFSbYCw34+oeS3chpJNodxmSbaUsJssSXHto4F1dp9HwEAOw==) 0px 0px no-repeat;
}

.section2 .featuredclub span p.rating,
{
margin-top:-5px;
margin-left:25px;
margin-bottom:10px;
background-color:#ffffff;
width:71px;
height:71px;
}

.section1 .featuredclub p.rating img.featuredavatar{
margin-top:-27px;
width:70px;
height:70px;
margin-left:69px;
display:block;
}

.section2 .featuredclub p.rating img.featuredavatar{
margin-top:-27px;
width:70px;
height:70px;
margin-left:69px;
}

.section1 .featuredclub span p.rating span.rating-number-box
{
text-align:center;
font-size: 36px;
color:#bd673a;
margin-top:20px;
}

.section2 .featuredclub span p.rating span.rating-number-box
{
text-align:center;
font-size: 36px;
color:#bd673a;
margin-top:20px;
}

.section1 .featuredclub span{
/**margin-left:25px;*/
}

.section2 .featuredclub span{
/**margin-left:25px;*/
}

.section1 {
width:50%;
border-right: 1px solid #d0d0d0;
float:left;
box-sizing: border-box;
}

td {
font:14px/20px AdlWebNorm, Sserif;
}

.section2 {
width:50%;
/**border-right: 1px solid #d0d0d0;*/
float:left;
box-sizing: border-box;
}

.section1 h2{
font: 22px/24px DinWebCond, Sans-serif;
color: #120006;
margin: 0px 0px 5px 0px;
text-transform: uppercase;
padding-left:17px;
padding-bottom:10px;
}

.section2 h2{
font: 22px/24px DinWebCond, Sans-serif;
color: #120006;
margin: 0px 0px 5px 0px;
text-transform: uppercase;
padding-left:17px;
padding-bottom:10px;
}

td {
text-align:right;
}
td.imagetd{
text-align:left;
}

.progress-bar .horizontal {
float: left;
height: 45px;
width: 100%;
/**padding: 12px 0;*/
}

.progress-track {
position: relative;
width: 30%;
height: 13px;
background: #FFFFFF;
float:right;
margin-left:-20px;
}

.progress-fill {
position: relative;
background: #2272af;
height: 13px;
width: 50%;
color: #2272af;
text-align: center;
font-family: "Lato","Verdana",sans-serif;
font-size: 12px;
line-height: 20px;
border-radius:0px 4px 4px 0px;
/**border-radius:0px 0px 0px 0px;*/
/**border-radius-top-right:5x;
border-radius-bottom-right:5px;*/
}

/**tr td { padding-top: 1px }*/
.ratingpositiontext{
color:#e8620d;
font: 42px/44px DinWebCond, Sans-serif;
}

.featuredclub { border-collapse: collapse; }
td { padding: 0; }

span.reviewlink {
position: absolute;
right: 0px;
font: 16px/16px DinWebCond, Sans-serif;
color: #000000;
text-transform: uppercase;
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAAATCAYAAABvLghXAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD9AAAAWgAAANkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAD//9rZHHe17HGFAAAAAElFTkSuQmCC) right 0px no-repeat;
padding: 3px 11px 2px 4px;
#if gecko
line-height: 0.95;
/**bottom: -1px;*/
#endif
}

最后这是我的 javascript:

        var hundreds = document.getElementsByClassName("clubname");
for(var i=0;i<hundreds.length;i++){
hundreds[i].onmouseover = function(e){
var firstParent = this.parentNode;
firstParent.parentNode.style.backgroundColor="#ffff99";
firstParent.parentNode.style.cursor='pointer';
updateFeaturedData(this);
}
hundreds[i].onmouseout = function(e){
var firstParent = this.parentNode;
firstParent.parentNode.style.backgroundColor="#ffffff";
firstParent.parentNode.style.cursor='default';
}
}

无论如何,我们将不胜感激。

最佳答案

那是给span.value的margin right为负值造成的

负边距将元素移到表空间之外。

关于javascript - 表格行数据没有扩展到足以在悬停时更改背景颜色,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33661572/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com