I have an asp.net website where I’m using stylesheets. Problem is, when I went in to make some changes to the stylesheets, they don’t seem be affecting the layout of the pages. On a whim, I commented out every line in the stylesheet, and my layout looks the same!
I do have the style sheet linked into my masterpage, and the layout looks (mostly) like what I want. What can cause this behavior and how can I try to correct?
EDIT: My import link looks like this:
<link href="NCLWebStyle.css" rel="stylesheet" type="text/css" media="screen" />
If you are using Firefox, check out the Firebug add in- this will let you inspect the page as it is loaded and rendered in the browser, and you can see exactly what CSS rules are being applied to each element in your page, what the inheritance of each attribute is – it is invaluable as a web design tool