css - Bootstrap3 navbar-fixed-top height -


i'm using bootstrap3 navbar-fixed-top in project. in mentioned navbar, there div height 700px , makes entire navbar stretch 700px , covers content (i'm not able click inside inputs of main container).

can set overflow parameter properly, element inside navbar doesn't stretch entire navbar, stays "outside" of it?

<nav class="navbar navbar-default navbar-fixed-top">  ...  <my-custom-widget></my-custom-widget> <!-- widget height of 700px -->  ... </nav> 

thanks.

g.

if creating custom widget can set widget's position attribute absolute or fixed , if want prevent oversized can use overflow property of css

checkout pen example

my-custom-widget{     position: absolute;     top: 0;     right: 0; } 

https://codepen.io/anon/pen/xaeznr


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -