html - Bootstrap not acting from master page file -


I have a master page in which the page has a header bar that is using the bootstrap.

Here is the code

  & lt; Nav class = "navbar navbar-inverse navbar-fixed-top" & gt; & Lt; Div class = "container-liquid" & gt; & Lt; Div class = "navbar-header" & gt; & Lt; Button type = "button" class = "navbar-toggle short" data-toggle = "collapse" data-target = "# navbar" aria-expanded = "false" aria-controls = "navbar" & gt; & Lt; Span class = "sr-only" & gt; Toggle Navigation & lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; Span class = "icon-bar" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; / Div & gt; & Lt; Div id = "navbar" class = "navbar-collapse collapse" & gt; & Lt; Div class = "left" & gt; & Lt; Asp: ImageButton id = "btn_home" runat = "server" imageUrl = "../ images / headhome pages" CssClass = "headIcons" /> & Lt; / Div & gt; & Lt; Div class = "left" & gt; & Lt; Asp: ImageButton id = "btn_config" runat = "server" imageUrl = "~ / images / head conf." CssClass = "headIcons" /> & Lt; / Div & gt; & Lt; Div class = "right" & gt; & Lt; Asp: ImageButton id = "btn_profile" runat = "server" imageUrl = "~ / images / headprofile" CssClass = "headIcons" /> & Lt; / Div & gt; & Lt; / Div & gt; & Lt ;! - /. Navbar-collapse - & gt; & Lt; / Div & gt; & Lt; / Neo & gt;  

Here my webform is ASPX code

  & lt; Div class = "row" & gt; & Lt; Div class = "col-md-12" "gt; 

As you can start from the very first line of my ASPX page very much and not on the master page.

This is because navbar-fixed-top code> status: Fixed ; .

.

>

Or better use less:

body {padding-top: @ navbar-height}}

View


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -