Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7620569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:58:15+00:00 2026-05-31T03:58:15+00:00

I am using external stylesheet for styling my default.aspx page , i am using

  • 0

I am using external stylesheet for styling my default.aspx page , i am using master page in my project.I am referring to the stylesheet in the master page.
My problem is , i have many dropdowns and textboxes on my form , i am using both classes and id's for each control.When i use class for a particular control in stylesheet changes are reflected ,, however when i use id for styling , changes are not reflected.Controls remain as they were.This must be something really obvious that i may be missing.I am using ‘.’ and ‘#’ for class and id respectively.Any help is much appreciated.
Here is my default.css file

.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;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:58:16+00:00Added an answer on May 31, 2026 at 3:58 am

    Could be a local cache issue? trying clearing you browser cache and reloading page

    failing that your id’s are wrong. Or you are trying to use it to style something that isn’t applicable (margin-top/bottom on an inline element for example)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a need to create a transactional process using an external API that
I am using CSS and HTML. I am using an external stylesheet and a
I'm using Wufoo with an external stylesheet stored on my server (just http://, not
How to make an external PHP widget page have its own CSS. The catch
I'm using the following external CSS files: <link href=/jquery_custom/green/jquery-ui-1.8.16.custom.css rel=stylesheet type=text/css /> <link href=/jquery_custom/css/blue/jquery-ui-1.8.7.custom.css
Using css (not a inline one, but external stylesheet) how do i override the
How do i pass three arguments using external interface in flash to a java
I'm trying to finish a little module from a reporting app using external dlls.
I'm using an external swf containing a number of font classes to load and
Instead of using an external web-based Mercurial host, I want to set one up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.