Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i do not know from where this css is coming

i want to apply form control but it's not applied and i saw markup in inspect in browser but i did not apply those styles in my code then how i found those markup location in project.

What I have tried:

is my cshtml
<div class="col-sm-3">
            Select LunchOut Time:<input type="text" id="lunchouttimepicker" class="form-control" data-format="HH:mm" data-template="HH : mm" name="datetime">

my javascript
       firstItem: 'name', //show 'hour' and 'minute' string at first item of dropdown
       minuteStep: 1

how can i found pirticular location of markup in my application to change..
please help...
Updated 9-Feb-18 19:48pm

1 solution

i do not know from where this css is coming

I'm assuming your asking where are your CSS files located? It is wherever you put them.

To be sure, go into your MVC project, look for App_Start folder, find BundleConfig.cs and there you should see the location of all javascript and CSS files and their referenced locations.

For example, this is one of the bundles i have in my MVC project for CSS files

bundles.Add(new StyleBundle("~/Content/themes/base/css").Include("~/Content/themes/base/jquery.ui.core.css",

So the location of my CSS for those files are, starting from my MVC project, in the Content/themes/base/ folder.

If you need to know, from the browser, where the CSS is for a specific element, either learn how to use inspect element (simple google search of "how to use inspect element in <insert your browser name here") or do a simple search for your CSS element in your entire project.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900