Fixed CSS problems with Chrome and Firefox
This commit is contained in:
parent
4c1bb44e59
commit
7046553a45
1 changed files with 6 additions and 0 deletions
|
@ -45,6 +45,7 @@ body {
|
||||||
}
|
}
|
||||||
#top-nav li.main-nav-item {
|
#top-nav li.main-nav-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-nav li input,
|
#top-nav li input,
|
||||||
|
@ -67,6 +68,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-nav li.search {
|
#top-nav li.search {
|
||||||
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
background: white;
|
background: white;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
|
@ -83,6 +85,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
#top-nav li.safety {
|
#top-nav li.safety {
|
||||||
|
display: inline-block;
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
}
|
||||||
|
@ -384,6 +387,9 @@ button:hover {
|
||||||
.clear {
|
.clear {
|
||||||
display: block;
|
display: block;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
height: 1px; /* ghost top margin in firefox */
|
||||||
|
width: 100%;
|
||||||
|
margin: 0 0 -1px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.debug {
|
pre.debug {
|
||||||
|
|
Loading…
Reference in a new issue