gpt4 book ai didi

CSS 样式表未反射(reflect)更改

转载 作者:行者123 更新时间:2023-11-28 14:10:02 26 4
gpt4 key购买 nike

我正在使用外部 stylesheet为我的 default.aspx 造型页面,我在我的元素中使用母版页。我指的是 stylesheetmaster页。我的问题是,我有很多 dropdownstextboxes在我的 form ,我同时使用 classesid's对于每个控件。当我使用 class对于 stylesheet 中的特定控件更改会反射(reflect)出来,但是当我将 id 用于 styling 时,更改未反射(reflect)出来。控件保持原样。这一定是非常明显的东西,我可能会丢失。我正在使用“。”和 '#' 代表 classid respectively.Any帮助非常感谢。这是我的 default.css文件

.textbox ,.dropdown,.checkdate1,.checkdate2,.NumZero,.NumLenZero,.NumDecTwo {
margin-bottom:10px;
}

.textbox,.checkdate1,.checkdate2,.NumZero,.NumLenZero,.NumDecTwo {
border:1px solid gray;
}

#disabled {
width:1000px;
margin-left:auto;
margin-right:auto;
color:White;
background-color:red;
text-align:center;
border:1px solid gray;
}

#drpCustType,#drpGender,#drpCountry,#drpMaritalStatus,#drpCorrespAdd,#drpEducation,#drpOccupation {
width:130px;
}

#drpResCity,#drpOffCity,#drpNativeCity {
width:160px;
}

#drpInitial,#drpReligion {
width:100px;
}

#drpBranchName,#drpResState,#drpOffState,#drpNativeState {
width:200px;
}

#drpIdentification {
width:220px;
}

#drpAddressProof {
width:253px;
}

#txtResAdd,#txtOffAdd,#txtNativeAdd {
width:350px;
border:1px solid red;
}

#txtCustNo {
margin-left:2px;
}

#txtBirthDate {
margin-left:8px;
}

#drpIdentification {
margin-left:6px;
}

#drpAddressProof{margin-left:-3px;}
#txtIDExpiryDate{margin-left:14px;}
#txtAddExpiryDate{margin-left:14px;}
#drpResCity,#drpOffCity,#drpNativeCity{margin-left:16px;}
#txtIDIssuedAt{margin-left:8px;}
#txtIDIssueDate{margin-left:1px;}
#drpResState,#drpOffState,#drpNativeState{margin-left:0px;}

#cmdSubmit{margin-left:50%;margin-top:10px;width:80px;height:30px;}

.date,.num{display:none;color:red;font-weight:bold;margin-left:3px;}
/*Custom validator Styling*/
#opendate,#reqdopendate,#birthdate,#restelno,#resmobno,#offtelno,#offmobno,#nativetelno,#nativemobno,#telno,#mobno,#monthincome,#idexpirydate,#addexpirydate,#idissuedate,#addissuedate{color:Red;font-weight:bold;margin-left:3px;}

#birthdate1,#resmobno1,#offmobno1,#nativemobno1,#mobno1,#idissuedate1,#addissuedate1{color:Red;font-weight:bold;margin-left:-7px;}

#easyTooltip {
padding:5px 10px;
border:1px solid #195fa4;
background:#195fa4 url(bg.gif) repeat-x;
-moz-border-radius:8px;
-webkit-border-radius:8px;
-moz-border-radius-bottomleft:0px;
-webkit-border-bottom-left-radius:0px;
color:#fff;
}

#Validation {
height:auto;
width:auto;
margin-left:20px;
}

最佳答案

可能是本地缓存问题?尝试清除浏览器缓存并重新加载页面

如果你的 id 是错误的。或者您正在尝试使用它来设置不适用的样式(例如内联元素上的 margin-top/bottom)

关于CSS 样式表未反射(reflect)更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9601052/

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