I want to express my gratitude for finding a solution to positioning Validator CallOuts on a web form through this question regarding repositioning the AJAX toolkit's CalloutExtender control.
Does anyone know why applying CSS classes directly within a <style>
element on my webpage yields the desired effect, but when adding the same classes to a linked CSS file, they don't have any impact?
For instance, incorporating the following styles directly into my page works perfectly. However, pasting these classes into my CSS file seems to result in them being disregarded, despite other stylesheet modifications affecting different elements of the page accordingly.
Even after stripping all other styles from the CSS file, the issue persists. Adjustments to properties like "margin-left" within the .CustomValidator class have no influence, whereas changes such as altering the background-color within .CustomValidator div function correctly.
The element is positioned inside a table, and adjusting the margin-left attribute in the .CustomValidator table style within the CSS file does shift the callout slightly to the left; however, the magnitude of the movement remains unchanged regardless of the value assigned.