2

Working with a typical ASP.NET MVC site.

Adding the following to site.css and it doesn't work.

.k-upload {
    max-width: 280px;
}

Here's what's being generated by my bundles:

<link href="/Content/bootstrap.min.css" rel="stylesheet"/>
<link href="/Content/site.css" rel="stylesheet"/>

<link href="/Content/kendo/kendo.common-bootstrap.min.css" rel="stylesheet"/>
<link href="/Content/kendo/kendo.bootstrap.min.css" rel="stylesheet"/>

<script src="https://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="/Scripts/kendo/kendo.all.min.js"></script>
<script src="/Scripts/kendo/kendo.aspnetmvc.min.js"></script>


<script src="/Scripts/jquery.validate.js"></script>
<script src="/Scripts/jquery.validate.unobtrusive.js"></script>

I want the upload div to be the width of the input boxes (280px).

Here's a screenshot of the problem: Here's a screenshot of the problem.

1 Answer 1

2

Apparently, the old css was cached in Chrome. Flushed the cache and the css listed above works perfectly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.