diff options
| author | Tom Pietschker <[email protected]> | 2013-02-19 14:50:44 -0500 |
|---|---|---|
| committer | Tom Pietschker <[email protected]> | 2013-02-19 14:50:44 -0500 |
| commit | ba7b1e8234982b3926e830798b5d3d34e1d1b369 (patch) | |
| tree | dd1612aa2cd84572ee03b386223630640e66d5a2 /docs/components.html | |
| parent | ec9b01e69165c078a6a261c8d570eac70b20bf51 (diff) | |
| download | bootstrap-ba7b1e8234982b3926e830798b5d3d34e1d1b369.tar.xz bootstrap-ba7b1e8234982b3926e830798b5d3d34e1d1b369.zip | |
tweak the position of the fixed to top/bottom navbars to remove double border
Diffstat (limited to 'docs/components.html')
| -rw-r--r-- | docs/components.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/components.html b/docs/components.html index 6c8950e0a..bcca74135 100644 --- a/docs/components.html +++ b/docs/components.html @@ -870,7 +870,7 @@ title: Components <h3>Fixed to top</h3> <p>Add <code>.navbar-fixed-top</code> and remember to account for the hidden area underneath it by adding at least 40px <code>padding</code> to the <code><body></code>. Be sure to add this after the core Bootstrap CSS and before the optional responsive CSS.</p> <div class="bs-docs-example bs-navbar-top-example"> - <div class="navbar navbar-fixed-top" style="position: absolute;"> + <div class="navbar navbar-fixed-top" style="position: absolute; top: -1px;"> <div class="container" style="width: auto;"> <a class="navbar-brand" href="#">Title</a> <ul class="nav"> @@ -890,7 +890,7 @@ title: Components <h3>Fixed to bottom</h3> <p>Add <code>.navbar-fixed-bottom</code> instead.</p> <div class="bs-docs-example bs-navbar-bottom-example"> - <div class="navbar navbar-fixed-bottom" style="position: absolute;"> + <div class="navbar navbar-fixed-bottom" style="position: absolute;; bottom: -1px;"> <div class="container" style="width: auto;"> <a class="navbar-brand" href="#">Title</a> <ul class="nav"> |
