Hi all, thanks in advance for any help.
I'm running into a strange scenario where any page that I have implemented JavaScript/jQuery on my .aspx page, my menu is in turn showing a 15 pixel "padding-top".
I am going to link a few screenshots, both of pages
without any scripts (i.e. displaying correctly), and also those
with scripts (i.e. showing this 15px "padding" to my menu).
First, a screenshot of a correctly displayed menu,
note the pixel for the div's height is 29px:
http://s24.postimg.org/p854jsrhh/goodmenu.png[
^]
Now, a screenshot of an incorrectly displayed menu,
note the pixel for the div's height is 44px (44-29 = 15px difference noted in my introduction):
http://s30.postimg.org/8bytujh2p/badmenu.png[
^]
What you should see is the red box I have made on the second link. This spacing
only occurs on pages that I have used jQuery on.
I have seen a couple of resources that are somewhat related to this, most relevant being
this StackOverflow thread/answer[
^], but I did EVERYTHING I could, and couldn't find any astray whitespace, etc., in my MasterPage of my Project.
For reference, my MasterPage <head> looks as follows:
<%@ Master Language="VB" AutoEventWireup="true" CodeBehind="Site.Master.vb" Inherits="WM_Cube.Site" %>
<!DOCTYPE html>
<html>
<head id="head1" runat="server">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title><%: Page.Title %></title>
<link rel="shortcut icon" href="~/favicon.ico" />
<script src="//code.jquery.com/jquery-latest.min.js"></script>
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<link href="~/Styles/Site.css" type="text/css" rel="Stylesheet"/>
<meta name="viewport" content="width=device-width"/>
<asp:ContentPlaceHolder runat="server" ID="HeadContent"></asp:ContentPlaceHolder>
</head>