aboutsummaryrefslogtreecommitdiff
path: root/docs/components.html
diff options
context:
space:
mode:
authorTom Pietschker <[email protected]>2013-02-19 14:50:44 -0500
committerTom Pietschker <[email protected]>2013-02-19 14:50:44 -0500
commitba7b1e8234982b3926e830798b5d3d34e1d1b369 (patch)
treedd1612aa2cd84572ee03b386223630640e66d5a2 /docs/components.html
parentec9b01e69165c078a6a261c8d570eac70b20bf51 (diff)
downloadbootstrap-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.html4
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>&lt;body&gt;</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">