asp.net mvc 3 - Css changes in code, doesnt show when debugging mvc 3 application -



asp.net mvc 3 - Css changes in code, doesnt show when debugging mvc 3 application -

i utilize line

@html.editorfor(c => c.amount, new { @class = "editor" })

and in site.css have code:

.editor { width: 100; }

also utilize line <link href="@url.content("~/content/site.css")" rel="stylesheet" type="text/css" /> in head of _layout

but when debug application, textbox(editor) not 100px wide. it's though none of changes in css file showing. i'm using firefox, , tried clear cache in firefox, no result.

you should supply unit:

.editor { width: 100px; }

asp.net-mvc-3

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -