asp.net - ASP .net 4.0 CSS .page width not applying -
first question, nice! ;-)
working visual studio 2010, have created basic framework 4.0 website normal c# web site template. looking edit .css given ms.
just proof of concept take default 960px .page width , change 550px. have changed manually via code directly , i've tried via manage styles toolbar. new width applies in design view, when running in browser can confirm inspecting applied style 960px. (changing 960 550 in firefox's css editor works...)
i have restarted vs2010, computer, have rebuilt solution, rebuilt web site , published iis externally. .css editing not applying page.
.page { width: 550px; background-color: #fff; margin: 20px auto 0px auto; border: 1px solid #496077; } for may less familiar vs2010 am, .page style appears place has stated width, , @ 960px indeed set width whole site. .css file working generated 1 located @ |projectdirectory|/styles/site.css
any ideas?
Comments
Post a Comment