Any css ninjas might be able to guess why when I include MVC 4's basic css file in my project it causes Jquery UI's dialog box to have issues? The title bar appears next to the content and of course everything is all jammed up - needless to say, it doesn't look good.
I am no HTML ninja but it seems like something is causing a "float: left" or something like that although I can see right in the HTML (using firebug) that "display: block;"
Uhm - here is the HTML that and JS that I am using however I don't know that it really helps.
$("#addCompanyDialog").dialog({
title: "Add New Company",
autoOpen: false
});
$("#addCompanyLink").click(function (evt) {
evt.preventDefault();
$("#addCompanyDialog").dialog("open");
});
<div id="addCompanyDialog" style="display:none; background-color: yellow; ">
<input type="text" id="companyName"/>
<input type="submit" id="addCompany" value="Add Company"/>
</div>
if I comment out this line
@Styles.Render("~/Content/css")
The dialog box is back to normal i.e. the title bar above the textbox and button.
Thanks