Wrapper is not centered - css

At a certain width the wrapper should shrink and become centered like this: http://i.imgur.com/ny6Y4ur.png but for some reason it doesn't work for me: http://i.imgur.com/N3vPI5e.png What am I doing wrong ?
CSS:
div#header {
height: 140px !important;
width: 940px !important;
margin: 0 auto !important;
}
div#header div#header_logo {
position: absolute !important;
top: 30px;
width: 803px !important;
}
div#header div#header_logo h1 {
position: relative !important;
top: 35px !important;
height: 50px !important;
width: 269px !important;
background: url('../images/compudoc_logo.png') no-repeat !important;
float: left !important;
margin-top: 15px !important;
}
div#header div#header_logo h1 a {
display: block !important;
width: 269px !important;
height: 40px !important;
text-indent: -9999px !important;
}
div#header div#header_logo h2 a.nl {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo.png') no-repeat !important;
float: right !important;
margin-left: 200px !important;
}
div#header div#header_logo h2 a.nl:hover {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_hover.png') no-repeat !important;
}
div#header div#header_logo h2 a.en {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_en.png') no-repeat !important;
float: right !important;
margin-left: 200px !important;
}
div#header div#header_logo h2 a.en:hover {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_hover_en.png') no-repeat !important;
}
div#header div#header_logo h2 a.fr {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_fr.png') no-repeat !important;
float: right !important;
margin-left: 200px !important;
}
div#header div#header_logo h2 a.fr:hover {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_hover_fr.png') no-repeat !important;
}
div#header_logo h2 a {
position: relative !important;
top: 30px !important;
right: 120px !important;
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo.png') no-repeat !important;
float: right !important;
margin-left: 200px !important;
}
div#header div#header_logo h2 a:hover {
height: 75px !important;
width: 334px !important;
text-indent: -5000px !important;
background: url('../images/compudoc_side_logo_hover.png') no-repeat !important;
}
.hiding span {
display: none;
}
.search {
position: relative;
left: 710px;
bottom: 161px;
}
.search input {
width: auto !important;
background-color: #fff !important;
}
.search input:focus {
background-color: #f1f6ff !important;
}
.item {
border: 1px solid #cad3cb;
padding: 20px;
}
.item img {
height: 150px;
width: 200px;
}
div#languageChoice {
width: 70px !important;
float: right !important;
}
div#languageChoice img {
display: inline-block !important;
width: 15px !important;
height: 12px !important;
margin-right: 4px !important;
}
#logo {
margin-top: 22px !important;
}
#logo a img {
float: left !important;
}
#tagline {
color: #888 !important;
border-left: 1px solid #e9e9e9 !important;
margin: 0 0 0 20px !important;
padding: 5px 0 5px 20px !important;
float: left !important;
}
div#sitenav {
position: relative !important;
top: 40px !important;
right: 45px !important;
background: #303030 !important;
display: block;
width: 79.3em !important;
float: left !important;
max-height: 52px !important;
margin: 0 29px 15px 0;
}
.sitenav2 {
margin-top: 12px !important;
}
.sitenav2 ul li:nth-child(2) a {
margin-right: 40px;
}
.sitenav2 ul li:nth-child(3), .sitenav2 ul li:nth-child(4), .sitenav2 ul li:nth-child(5), .sitenav2 ul li:nth-child(6), .sitenav2 ul li:nth-child(7), .sitenav2 ul li:nth-child(8) {
background: url(../css/images/navigation-divider.png) no-repeat right 50%;
}
div#sitenav ul:nth-child(2) li:nth-child(1) {
padding-left: 40px !important;
}
div#sitenav ul,
div#sitenav li {
list-style: none !important;
padding: 0 !important;
margin: 0 !important;
display: inline !important;
}
div#sitenav ul li {
display: inline-block !important;
vertical-align: top !important;
position: relative !important;
}
div#sitenav ul li a {
display: inline-block !important;
color: #fff !important;
text-decoration: none !important;
font-size: 14px !important;
font-weight: 500 !important;
padding: 17px 20px !important;
}
div#sitenav ul li a:hover {
background: #2db2ea !important;
color: #fff !important;
-webkit-transition: all 0.1s ease-in-out !important;
-moz-transition: all 0.1s ease-in-out !important;
-o-transition: all 0.1s ease-in-out !important;
transition: all 0.1s ease-in-out !important;
}
div#sitenav ul:nth-child(1) li:nth-child(1) a, div#sitenav ul:nth-child(1) li:nth-child(2) a, div#sitenav ul:nth-child(2) li:nth-child(1) a, div#sitenav ul:nth-child(2) li:nth-child(2) a, div#sitenav ul:nth-child(2) li:nth-child(3) a, div#sitenav ul:nth-child(2) li:nth-child(4) a, div#sitenav ul:nth-child(2) li:nth-child(5) a, div#sitenav ul:nth-child(2) li:nth-child(6) a {
background: url(../css/images/navigation-divider.png) no-repeat right 50%;
}
div#sitenav ul:nth-child(2) li:nth-child(1) a {
margin-left: 50px !important;
}
div#sitenav ul:first-child li:nth-child(2) a {
background: none;
}
div#sitenav ul:nth-child(3) li a {
background-color: #4ea09c;
}
.active {
background: #2db2ea !important;
}
.submenu-active {
color: #2db2ea !important;
}
/*here*/
#content_container {
position: relative !important;
/*width: 960px !important;*/
margin: 0 auto !important;
padding: 0 !important;
}
#pageContent {
float: left !important;
width: 780px;
}
#pageContent h2 {
font-weight: normal !important;
padding: 11px 0 0 0 !important;
}
#pageContent a {
color: #2db2ea;
}
#pageContent a:hover {
text-decoration: underline;
}
#pageContent p {
padding-left: 0 !important;
}
#pageContent ul {
list-style: disc inside !important;
}
.pageContentShop {
width: 780px !important;
}
.details a {
font-size: 1px !important;
}
.ui-dialog {
overflow: hidden;
margin-left: 446px !important;
}
.thumb small a {
color: #666666 !important;
text-decoration: none !important;
cursor: default !important;
}
#bolded-line {
background: #2db2ea !important;
}
p {
margin: 0 !important;
}
img.ui-datepicker-trigger {
display: none;
}
/*Table*/
.table, table.admin, table.factuur, table.lid_detail, table.klant {
font-size: 12px;
width: 100%;
border-collapse: separate;
border-spacing: 0;
border: none;
margin-bottom: 15px;
-webkit-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
}
.table th, table.admin th, table.factuur th, table.lid_detail th, table.klant th {
text-align: center;
border: 1px solid #dddddd;
border-right: none;
background-color: #fafafa;
padding: 10px 15px;
color: #404040;
vertical-align: top;
font-size: 14px;
font-weight: bold;
}
.table td:last-child, table.admin td:last-child, table.factuur td:last-child, table.lid_detail td:last-child, table.klant td:last-child {
border-right: 1px solid #ddd;
}
.table th:last-child, table.admin th:last-child, table.factuur th:last-child, table.lid_detail th:last-child, table.klant th:last-child {
border-right: 1px solid #ddd;
}
.table td, table.admin td, table.factuur td, table.lid_detail td, table.klant td {
text-align: center;
padding: 10px 15px;
border: #e0e0e0 1px solid;
border-top: none;
border-right: none;
}
.table tr:hover td, table.admin tr:hover td, table.factuur tr:hover td, table.lid_detail tr:hover td, table.klant tr:hover td {
background-color: #fafafa;
}
.tableFacturen th, .tableFacturen td {
padding: 0 !important;
text-align: center !important;
}
.tableMijn th, .tableMijn td {
padding: 2px !important;
text-align: center !important;
}
.no-padding-1 th, .no-padding-1 td {
text-align: center;
padding: 1px !important;
}
table.lid_detail tr:first-child td {
border-top: 1px solid #e0e0e0 !important;
}
table.lid_detail input[type="submit"] {
margin-right: 25px !important;
}
.borderTop tr:first-of-type td {
border-top: 1px solid #e0e0e0 !important;
}
/**/
img.report_problem {
margin: 0 auto;
}
#content_container #sec_nav_container, #sec_nav_container2,
#content_container .columns {
float: left !important;
display: inline !important;
margin-left: 10px;
margin-right: 10px;
}
#sec_nav_container {
position: absolute;
left: 805px;
margin-right: 0 !important;
}
#sec_nav_container2 {
width: 150px;
position: relative;
right: 17px;
padding-right: 11px;
margin-left: 0 !important;
}
#sec_nav_container {
width: 160px !important;
}
#sec_nav_container img:first-child {
width: auto;
height: auto;
}
#topVerkoop .tabel img {
width: 130px !important;
height: 90px !important;
}
.tabel_hoofding small {
float: left;
font-weight: normal !important;
font-size: 10px;
}
.no-border td {
border: none !important;
}
.no-border-2 {
border: none !important;
}
.add tbody input {
margin-bottom: 5px !important;
}
.tabel {
position: relative;
vertical-align: middle !important;
}
table.formPadding td {
padding-right: 12px !important;
}
/* Self Clearing Goodness */
#content_container:after {
content: "\0020" !important;
display: block !important;
height: 0 !important;
clear: both !important;
visibility: hidden !important;
}
#submenu li a {
color: #666;
display: block !important;
padding: 3px 0 !important;
padding-left: 12px !important;
background: url(../css/images/links-list-arrow-02.png) no-repeat left 47% !important;
}
.links-list li a:hover {
color: #fff !important;
}
#submenu li a:hover {
color: #2db2ea;
}
.links-list li:first-child a,
#submenu li:first-child a {
margin: -3px 0 0 0 !important;
}
div#comment_ticker h4 {
cursor: default;
font-size: 16px !important;
}
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
display: inline-block !important;
}
.notification {
font-family: "Open Sans", sans-serif;
font-size: 12px;
line-height: 18px;
margin-bottom: 15px;
position: relative;
padding: 14px 40px 14px 18px;
-webkit-box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
box-shadow: 0px 1px 1px 0px rgba(180, 180, 180, 0.1);
background-color: #ffe9e9;
color: #de5959 !important;
border: 1px solid #fbc4c4;
}
.notification:before {
content: "Error: ";
font-weight: bold;
}
.notification a {
color: #de5959 !important;
}
.notification a:link {
text-decoration: underline;
}
.ui-dialog {
top: 100px !important;
position: fixed !important;
}
/*code for the carousel */
#carousel_inner {
margin-left: auto;
margin-right: auto;
position: relative;
height: 150px;
width: 950px; /* important (this width = width of list item(including margin) * items shown */
overflow: hidden; /* important (hide the items outside the div) */
/* non-important styling bellow */
/*background: #ffffff;*/
}
#carousel_ul {
position: relative;
left: -150px; /* important (this should be negative number of list items width(including margin) */
list-style-type: none; /* removing the default styling for unordered list items */
margin: 0;
padding: 0;
width: 9999px; /* important */
/* non-important styling bellow */
padding-bottom: 10px;
}
#carousel_ul li {
float: left; /*important for inline positioning of the list items*/
width: 180px; /*fixed width, important*/
/* just styling bellow*/
padding: 0;
text-align: left;
/*height:40px;*/
color: #fff;
font-style: italic;
font-size: 11px;
font-weight: normal !important;
/*background: #ffffff;*/
margin-top: 5px;
margin-bottom: 5px;
margin-left: 5px;
margin-right: 5px;
cursor: default;
}
#carousel_ul li center a img {
. margin-bottom : - 4 px; /* IE is making a 4px gap bellow an image inside of an anchor (<a href...>) so this is to fix that */
/* styling */
cursor: hand;
border: 0px;
}
#left_scroll, #right_scroll {
float: left;
height: 100px;
width: 0;
background: #ffffff;
}
#left_scroll img, #right_scroll img {
border: 0; /* remove the default border of linked image */
/*styling*/
cursor: hand;
}
.form-margin {
margin-right: 3px !important;
}
#footer-bottom {
cursor: default;
height: 20px !important;
text-align: center;
}
#footer-bottom a:hover {
color: #2db2ea !important;
}
#footer-bottom-shop {
padding: 22px 0;
cursor: default;
height: 7px !important;
text-align: center;
}
#footer-bottom-shop a {
color: #fff;
}
.shop-footer-text {
position: relative;
bottom: 13px !important;
}
#footer-bottom-shop a:hover {
color: #2db2ea !important;
}
#scroll-top-top {
width: 35px;
position: relative;
left: 925px;
bottom: 40px;
}
#scroll-top-top a {
background-color: #2db2ea;
}
.scroll-top-top-shop {
bottom: 39px !important;
}
#save {
cursor: hand;
}
td.item:hover {
background: #fafafa;
}
.loginForm {
margin: 0 180px;
}
.login {
margin: 0;
}
input[type="submit"], #pageContent input[type="button"] {
color: #ffffff !important;
margin: 10px 0 !important;
background: #444 !important;
padding: 9px 12px !important;
display: inline-block !important;
border: 0 !important;
font-family: "Open Sans", sans-serif !important;
font-weight: bold !important;
cursor: pointer !important;
width: auto !important;
-webkit-transition: all 0.1s ease-in-out !important;
-moz-transition: all 0.1s ease-in-out !important;
-o-transition: all 0.1s ease-in-out !important;
-ms-transition: all 0.1s ease-in-out !important;
transition: all 0.1s ease-in-out !important;
}
input[type="submit"]:hover, #pageContent input[type="button"]:hover {
background: #2db2ea !important;
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-o-transition: all 0.1s ease-in-out;
-ms-transition: all 0.1s ease-in-out;
transition: all 0.1s ease-in-out;
}
#pageContent input[type="button"] {
margin-right: 4px !important;
}
#pageContent form small {
margin-left: 8px;
}
#pageContent form td {
padding-right: 8px !important;
}
#pageContent select {
padding: 5px 8px !important;
}
#pageContent form input[type="text"], #pageContent form input[type="username"], #pageContent form input[type="password"], #pageContent select, #pageContent textarea, #pageContent select.form-margin {
margin-bottom: 5px !important;
}
#media only screen and (max-width: 1029px) {
#sitenav {
display: none !important;
}
#wrapper {
margin: 15px auto !important;
padding: 25px 70px !important;
-webkit-box-shadow: none;
box-shadow: none;
width: 100%;
}
body {
background: #fff;
}
/*#header, #main_container {*/
/*width: 768px !important;*/
/*}*/
#pageContent {
width: 110%;
}
#footer {
margin: 0 auto;
padding: 15px 0 0 0;
width: 100% !important;
}
}
/*#media only screen and (max-width: 767px) {*/
/*div#sitenav {*/
/*float: none !important;*/
/*display: none !important;*/
/*}*/
/*.js #nav {*/
/*display: none !important;*/
/*}*/
/*}*/

You need display: block on elements that have margin: 0 auto if you want them centered...
#wrapper {
margin: 15px auto !important;
padding: 25px 70px !important;
-webkit-box-shadow: none;
box-shadow: none;
width: 100%;
display:block;
}

Related

Isolating styles defined inside a DIV so they do not affect the rest of the webpage

I'm running an email ticket system. This does list various html-emails, each one inside its DIV. Thus, the DIV does contain html code with its own css styles. My problem is that these css styles do overwrite the appearance of the overall website. Is there a solution that the css styles in these emails / inside the DIV can be isolated in order to not affect the rest of the website?
<html>
<head>
<link rel="stylesheet" href="https://www.myserver.com/assets/css/custom.css">
.......
</head>
<body>
<div>
some content
</div>
<div class="container clientmail>
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<style type="text/css">
p{margin:10px 0;padding:0;}
… lots more of styles …
</style>
</head>
<body>
… the message …
</body>
</html>
</div>
</body>
</html>
.clear,
.clear_both {
clear: both
}
#ul_attachment_list,
.ul-attachments,
ul.editticket-ul {
list-style: none!important
}
body {
font-size: 12px!important
}
.h2,
h2 {
font-size: 20px!important
}
.h3,
h3 {
font-size: 12px!important
}
.nav>li>a {
font-size: 14px!important;
font-weight: 500!important
}
p {
margin: 0 0 2px!important
}
.container {
width: auto!important;
max-width: 98%!important;
margin-bottom: 20px;
margin-left: 20px!important;
margin-right: 20px!important
}
.header {
padding: 5px 15px!important
}
.clientmail {
/* max-width: 95%!important;*/
margin-right: 40px!important;
}
.clientmail .content {
/*all: initial; /* blocking inheritance for all properties */
/*all: unset; /* allowing inheritance within #mydiv */
}
.clientmail .content * {
/*all: initial; /* blocking inheritance for all properties */
}
/* To the Developer:
// ---------------------------------------------------------------------------------
// <div class="container clientmail "> .... <div class="content"> is used to display html emails which have their own stylesheet. This stylesheets do affect the aperance of the rest of the page.
// Is there a way to isolate this stylesheet in order that they do not afect anything outside the div?
// ---------------------------------------------------------------------------------
*/
.adminmail {
/* max-width: 95%!important;*/
margin-left: 40px!important
}
.adminmail .panel-heading {
background: #ddd!important
}
.sec1 {
background: #F8F8F8;
min-height: 50px
}
.sec1 .navbar.navbar-inverse {
background: #F8F8F8!important;
border: 0!important
}
.sec2 .navbar.navbar-inverse {
background: 0 0!important;
border: 0!important
}
.sec2 .container {
border: 1px solid #ddd;
padding-left: 10px;
padding-right: 10px;
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
border-radius: 4px
}
.lstsec .panel-heading,
.sec3 .panel-heading {
color: #333;
background-color: #f5f5f5;
border-color: #ddd
}
.sec3 .container {
padding: 0!important
}
.sec4 {
margin: 5px 0
}
.panel-body,
.panel-heading {
padding: 2px 15px 1px!important
}
.clientmail .panel-body,
.adminmail .panel-body {
height:auto;
/* max-height:150px; */
overflow:scroll;
resize:vertical;
}
.header>.pull-right,
.panel-heading>h2>.pull-right {
margin-top: -3px!important
}
.well {
margin-bottom: 10px!important
}
.attachmentslist>ul {
margin-left: -15px
}
.lstsec .table {
margin-top: 20px
}
.formsec {
background-color: #F5F5F5;
padding: 9px;
border-radius: 3px;
border: 1px solid #e3e3e3;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
margin-top: 0!important;
margin-bottom: 2px!important
}
.form-group {
margin-bottom: 8px!important
}
.adminmail>form>.form-group {
margin-top: 10px!important
}
.form-control {
padding: 2px 2px 2px 5px!important
}
input.form-control,
select.form-control {
height: auto!important
}
input[type="file"] {
display: inline!important;
overflow:hidden;
margin-left: 20px;
}
textarea.form-control {
min-height: 100px!important
}
textarea.single_line {
display: block;
width: 100%;
line-height: 1.42857143;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
font-size: 14px;
padding: 2px 2px 2px 5px
}
.form_field_label {
display: inline-block;
min-width: 120px;
font-weight: 600
}
.display_none,
i.icon-mergetickets,
i.syncemail-icon {
display: none
}
.navbar {
margin-top: 12px!important;
margin-bottom: 10px!important
}
.btn {
padding: 3px 10px!important
}
.btn-primary {
min-width: 140px;
}
table.dataTable thead td,
table.dataTable thead th {
padding: 2px 4px!important
}
table.dataTable tbody td,
table.dataTable tbody th {
padding: 4px 2px 2px 16px!important
}
table.dataTable td:first-child{
padding: 2px 2px 2px 2px!important;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_desc_disabled {
padding-left: 16px!important;
background-position: center left!important
}
.dataTables_filter {
padding-top: 6px!important;
padding-bottom: 6px!important
}
.dataTables_length {
padding-top: 10px!important;
padding-bottom: 10px!important
}
#dataTable tr {
cursor: pointer
}
.fixed_date_time_width{
width:98px !important;
}
.list-group-item {
padding: 6px 12px !important;
}
.modal-body .list-group-item {
max-height:46px;
overflow:hidden;
}
.hading>h2 {
margin-top: 10px!important;
margin-bottom: 2px!important
}
.h1,
.h2,
.h3,
h2,
h3 {
margin-top: 5px!important;
margin-bottom: 5px!important
}
label {
margin-bottom: 1px!important
}
.deleted {
text-decoration: line-through
}
.deleteitsmall {
margin-left: 20px;
padding: 0 6px!important;
font-size: 12px!important;
background-color: #F66!important
}
table.archived-list tbody tr:hover,
table.templates-table tbody tr:hover,
table.ticket-list tbody tr:hover,
ul.single-list-group>li:hover {
background-color: #eee!important
}
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9 {
padding-right: 0!important;
padding-left: 0!important
}
.col-50p {
width: 50%;
float: left;
position: relative
}
h5.archived-list-h5,
h5.ticket-list-h5 {
position: absolute;
right: 360px;
z-index: 9999;
float: right;
margin-top: -25px;
}
#mergeTicket{
margin-right: 40px!important;
}
.col-50p:first-child {
padding-left: 0;
padding-right: 15px
}
.col-50p:last-child {
padding-left: 15px;
padding-right: 0
}
.description_text {
width: 100%!important
}
.price {
max-width: 80px;
text-align: right;
margin-left: 8px
}
.percent {
display: inline !important;
max-width: 40px;
text-align: right;
margin-left: 8px
}
table.archived-list tr td.archived-list-td1,
table.ticket-list tr td.ticketlist-td1 {
text-align: left;
padding-left: 4px!important
}
.grandtotal {
font-size: 14px;
font-weight: 700;
padding-right: 5px
}
.subtotal {
font-size: 14px;
color: #555;
padding-right: 5px
}
button.deleteitsmallbtn {
color: #fff
}
h2.archived-list-h2 {
float: left
}
.clear {
padding: 0!important;
margin: 0!important;
line-height: 0
}
.single-modal-content1,
.single-modal-content2 {
height: 100%;
background-color: #eee!important
}
.single-p-section {
margin-top: 15px;
margin-bottom: 15px
}
.single-modal-dialog {
height: 95%
}
iframe#upload_target {
width: 100%;
height: 100%
}
#attach_file {
height: 80%
}
#media (min-width:668px) {
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9 {
padding-left: 15px!important;
padding-right: 15px!important
}
.col-md-10:first-child,
.col-md-11:first-child,
.col-md-1:first-child,
.col-md-2:first-child,
.col-md-3:first-child,
.col-md-4:first-child,
.col-md-5:first-child,
.col-md-6:first-child,
.col-md-7:first-child,
.col-md-8:first-child,
.col-md-9:first-child {
padding-left: 0!important;
padding-right: 15px!important
}
.col-md-10:last-child,
.col-md-11:last-child,
.col-md-1:last-child,
.col-md-2:last-child,
.col-md-3:last-child,
.col-md-4:last-child,
.col-md-5:last-child,
.col-md-6:last-child,
.col-md-7:last-child,
.col-md-8:last-child,
.col-md-9:last-child {
padding-left: 15px!important;
padding-right: 0!important
}
.col-md-6 {
width: 50%!important;
float: left!important
}
}
#media (max-width:667px) {
h5.archived-list-h5,
h5.ticket-list-h5 {
right: 50px;
}
}
#media only screen and (min--moz-device-pixel-ratio:2),
only screen and (-o-min-device-pixel-ratio:2/1),
only screen and (-webkit-min-device-pixel-ratio:2),
only screen and (min-device-pixel-ratio:2) {
body {
font-size: 200%
}
}
.alert-error {
color: #a84c3d;
background-color: rgba(255, 212, 212, .69);
border-color: #e9cdc6
}
label.editAgent {
font-weight: 400!important
}
.editAgent span {
float: right;
margin-top: 3px;
margin-left: 5px
}
.desc_css {
width: initial;
float: left
}
.display_unset {
display: unset
}
.note-editable {
height: 50px!important
}
.list-group>li:hover,
.modal-content:hover {
background-color: #eee!important
}
#myModal2 .modal_dialog {
width: 850px;
height: 100%
}
#myModal2 .modal_content {
width: 900px;
height: 100%
}
#myModal2 .upload_target_file {
width: 100%;
height: 100%
}
#myModal2 .modal_body {
height: 80%
}
.loading {
display:none;
position: fixed;
top: 0; right: 0;
bottom: 0; left: 0;
background: rgba(38, 17, 17, 0.16);
}
.loader {
display:none;
left: 50%;
margin-left: -4em;
font-size: 10px;
border: .8em solid rgb(102, 116, 170);
border-left: .8em solid rgba(58, 166, 165, 1);
animation: spin 1.1s infinite linear;
}
.loader, .loader:after {
border-radius: 50%;
width: 8em;
height: 8em;
display: block;
position: absolute;
top: 50%;
margin-top: -4.05em;
}
.body_blocked
{
z-index: 2;
opacity: 0.6;
pointer-events: none;
}
#keyframes spin {
0% {
transform: rotate(360deg);
}
100% {
transform: rotate(0deg);
}
}
.description_css
{
white-space: pre-line;
}
.attachment_file_input
{
color:white;
width:90px;
}
.temp_attach
{
display:inline-flex;
}
.comments
{
padding: 10px;
}
You are using the HTML style tag. What you want is either to assign a class to your div and put the css for that class in a .css file, or use the HTML style attribute on the div.
https://www.w3schools.com/TAGs/tag_style.asp
https://www.w3schools.com/TAGS/att_style.asp
<div style="margin:10px 0;padding:0;">

Creating space between Side Buttons

I'm trying to create a space down the left hand side of my page for social media buttons, my problem is the buttons will not spread apart to where there is a large enough gap between buttons.
enter image description here
body {
background: darkgrey;
background-image:url('../https://www.dropbox.com/home?preview=city.jpg');
font-family: arial;
}
#wrapper {
width: 800px;
margin: 100px auto 0 auto;
padding-bottom: 20px;
}
#header {
width: 800;
height: auto;
margin: 0;
background: transparent;
}
.logo{
text-align: center;
}
#tabs{
overflow: hidden;
width: 100%;
margin: 0;
padding: 0;
list-style: none;
}
#tabs li{
float: left;
margin: 0 .5em 0 0;
}
#tabs a{
position: relative;
background: #ddd;
background-image: linear-gradient(to bottom, #ccc, #ddd);
padding: .7em 3.5em;
float: left;
text-decoration: none;
color: #444;
text-shadow: 0 1px 0 rgba(255,255,255,.8);
border-radius: 5px 0 0 0;
box-shadow: 0 2px 2px rgba(0,0,0,.4);
}
#tabs a:hover,
#tabs a:hover::after,
#tabs a:focus,
#tabs a:focus::after{
background: #fff;
}
#tabs a:focus{
outline: 0;
}
#tabs a::after{
content:'';
position:absolute;
z-index: 1;
top: 0;
right: -.5em;
bottom: 0;
width: 1em;
background: #ddd;
background-image: linear-gradient(to bottom, #ccc, #ddd);
box-shadow: 2px 2px 2px rgba(0,0,0,.4);
transform: skew(10deg);
border-radius: 0 5px 0 0;
}
#tabs #current a,
#tabs #current a::after{
background: #fff;
z-index: 3;
}
#content
{
background: #fff;
padding: 2em;
height: 520px;
position: relative;
z-index: 2;
border-radius: 0 5px 5px 5px;
box-shadow: 0 -2px 3px -2px rgba(0, 0, 0, .5);
}
p {text-align:left;
line-height:120%;
margin-right: 2cm;
letter-spacing: 0px;
}
#icons {
position: absolute;
top: 86px;
left: -90px;
z-index: 3;
}
table {border: solid darkgrey thin;
}
}
footer {
display: inline-block;
width:800px;
text-align: left;
margin-top: 250px;
}
footer ul {list-style-type: none;
text-align: center;
float: left;
}
footer li {display:inline;
margin-left: 20px;
}
footer a:link{
text-decoration: none;
}
footer p {
float:right;
}
.menu {
word-spacing: 10px;
}

How to I get the bottom half of my menu buttons to show?

I can't seem to get the bottom of the buttons to show, I tried increasing padding on the span, setting it to display: block, and increasing the height of the A and SPAN elements to no avail.
JS Fiddle Link: http://jsfiddle.net/7tcrz38r/
CSS:
/* Menu */
div#menu{
float: right;
margin-top: [[setting:menuMarginTop]];
}
div#menu ul{
list-style: none;
margin: 0;
padding: 0;
}
div#menu>ul>li{
float: left;
padding: 0;
}
div#menu li.has-sub>ul{
background: #FFFFFF;
border-top: 4px solid [[setting:color1]] !important;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
height: 110px;
display: none;
height: auto;
margin: -12px 0 0 16px;
padding: 0px;
position: absolute;
width: 170px;
z-index: 2000;
}
div#menu li.has-sub>ul>li{
border-bottom: 1px solid #EEEEEE;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
padding: 10px;
}
div#menu li.has-sub>ul>li>a{
color: #949494;
font-size: 12px !important;
text-decoration: none;
}
div#menu li.has-sub>ul>li>a:hover{
color: [[setting:color1]];
}
div#menu li:hover ul {
display: block;
}
div#menu>ul>li>a {
color: #868787;
display: inline-block;
font-size: 18px !important;
font-weight: lighter;
letter-spacing: 1px !important;
margin: 17px 15px !important;
outline: none;
position: relative;
text-decoration: none;
text-shadow: 0 0 1px rgba(255,255,255,0.3);
}
/*div#menu>ul>li>a.active{
color: [[setting:color1]] !important;
background-color: #c3d9e3;
border: 2px solid #abd1eb;
border-radius: 5px;
}*/
div#menu>ul>li:last-child>a{
margin: 17px 0 17px 15px !important
}
div#menu>ul>li:last-child>a{
margin-right: 0 !important;
}
div#menu>ul>li>a:hover,
div#menu>ul>li>a:focus {
outline: none;
}
div#menu>ul>li>a{
overflow: hidden;
padding: 0 !important;
height: 1.3em !important;
}
div#menu>ul>li>a>span {
display: block;
position: relative;
border: 2px solid #eef3f5;
/*-webkit-transition: -webkit-transform 0.3s;
-moz-transition: -moz-transform 0.3s;
transition: transform 0.3s;*/
}
div#menu>ul>li>a>span::before {
position: absolute;
top: 100%;
content: attr(data-hover);
/*-webkit-transform: translate3d(0,0,0);
-moz-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);*/
}
div#menu>ul>li>a:hover span,
div#menu>ul>li>a:focus span {
/* background-color: #c3d9e3;
border: 1px solid #abd1eb;
border-radius: 25%;*/
background-color: #c3d9e3;
border: 2px solid #abd1eb;
border-radius: 5px;
/*-webkit-transform: translateY(-100%);
-moz-transform: translateY(-100%);
transform: translateY(-100%);
color: [[setting:color1]];*/
}
/*
div#menu>ul>li>a.menuactive{
color: [[setting:color1]];
}*/
HTML:
<div id="menu">
<ul><li >
<span data-hover="Home">Home</span></li><li >
<span data-hover="Classes">Classes</span></li><li >
<span data-hover="Pricing">Pricing</span></li><li >
<span data-hover="About Us">About Us</span></li><li >
<span data-hover="Log In">Log In</span></li> </ul>
</div>
You are setting a fixed height(1.3em !important;) for A which is causing this issue.
Please check this updated working fiddle:http://jsfiddle.net/7tcrz38r/2/
you have this declaration:
div#menu>ul>li>a {
overflow: hidden;
padding: 0 !important;
height: 1.3em !important;
}
which, by the way, is repeated since it's declared some lines above
div#menu>ul>li>a {
color: #868787;
display: inline-block;
font-size: 18px !important;
font-weight: lighter;
letter-spacing: 1px !important;
margin: 17px 15px !important;
outline: none;
position: relative;
text-decoration: none;
text-shadow: 0 0 1px rgba(255, 255, 255, 0.3);
}
Anyways, just remove that overflow:hidden property. However, you'll have the menu items showing twice because of that data-hover span you have. I don't know why are you using that, so consider if you need it or not. Of course, you can simply remove that "height: 1.3em !important;" as well, but I assume it's better to have a height than an overflow. anyways, it's a a decision you'll have to ponder

Having issues adjusting layout to fit the whole screen

I'm a beginner and would like to get some help and see where I'm making a mistake. I've adjusted my css to try to make the footer drop to the bottom of the page no matter the screen size that's view the page. I tried adjusting the body height to be at 100%, but that did not work.
I'm trying to make it so the bottom footer is just below the fold, so it can only be seen once you scroll down, and not seen we you first get to the page.
If there is any advice on how I can solve my issue, it would be much appreciated thanks.
Here are some pictures to give you an example & the CSS
Mobile
Tablet Vertical
Tablet Horizontal
CSS:
body {
margin: 0;
padding: 0;
background: #FFFFFF;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 18px;
color: #000000;
width:100%;
height:100%;
}
h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #000000;
}
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1em;
margin-top: 1.8em;
text-align:left;
}
h3 {
font-size: 1.6em;
}
p, ul, ol {
margin-top: 0;
line-height: 100%;
}
ul, ol {
}
a {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #000000;
}
#wrapper {
overflow: hidden;
background-color: #FFFFFF;
}
#bottom-wrapper {
overflow: hidden;
position:relative;
bottom:0;
height: 100px;
padding: 5px 0px 0px 0px;
background: url(images/blue-background.jpg) repeat-x left top;
}
#bottom {
overflow: hidden;
width: 960px;
height: 200px;
margin: 0 auto;
padding: 0px 20px;
}
.abouttext {
width: 625px;
margin: 10px auto;
}
.three {
width: 1000px;
margin: 10px auto;
padding: 10px 140px;
}
.container {
width: 880px;
margin: 10px auto;
}
#container {
display: table;
}
#row {
display: table-row;
}
#left, #right, #middle {
display: table-cell;
}
/* Header */
#header-wrapper {
overflow: hidden;
height: 110px;
background: url(images/blue-background.jpg) repeat-x left top;
}
#header {
overflow: hidden;
width: 100%;
height: 200px;
margin: 0 auto;
padding: 0px 20px;
font-weight: bold;
}
/* Banner */
#banner {
overflow: hidden;
height: 100px;
background: url(images/img04.jpg) no-repeat center bottom;
}
#banner .image-style {
border: 15px solid #F4F4F4;
}
/* Logo */
#logo {
float: left;
width: 400px;
margin: 0;
padding: 0;
color: #000000;
}
#logo h1, #logo p {
}
#logo h1 {
padding: 10px 0px 0px 0px;
font-size: 3.0em;
}
#logo p {
margin-top: -10px;
padding: 0px 0px 0px 5px;
font-size: 20px;
color: #FFFFFF;
}
#logo p a {
color: #FFFFFF;
}
#logo a {
border: none;
background: none;
text-decoration: none;
color: #FFFFFF;
}
/* Splash */
#splash {
overflow: hidden;
padding: 0px 0px 0px 0px;
border-bottom: 1px dashed #E7E2DC;
letter-spacing: 0px;
text-align: center;
vertical-align:middle;
font-size: 18px;
}
div.home-rt, div.cat{
/*width:310;height:355;*/
text-align:center;/*border:solid 2px #e0e0e0;*/
margin: 0 auto;
vertical-align:top;
display:inline-block;
cursor:pointer;
}
.iPad_1, .iPad_2, .iPad_3, .iPad_4, .iPad_Air, .iPad_Mini, .iPad_MiniRetina
{
margin:10px 10px 10px 10px;
}
.iPhone_2G, .iPhone_3G, .iPhone_3GS, .iPhone_4, .iPhone_4S, .iPhone_5, .iPhone_5C, .iPhone_5S
{
margin:10px 10px 10px 10px;
}
#splash div.home-rt {
/*margin-top:10px;
margin-bottom:10px;*/
width:310;
height:355;
background:#fff;
}
#splash .home-rt {
text-align:center !important;
}
#splash span {
color: #313131;
}
/* Search */
#search {
float: right;
width: 280px;
height: 60px;
padding: 20px 0px 0px 0px;
}
#search form {
height: 41px;
margin: 0;
padding: 10px 0 0 20px;
}
#search fieldset {
margin: 0;
padding: 0;
border: none;
}
#search-text {
width: 170px;
padding: 6px 5px 2px 5px;
border: 1px solid #DEDEDE;
background: #FFFFFF;
font: normal 11px Arial, Helvetica, sans-serif;
color: #5D781D;
}
#search-submit {
width: 50px;
height: 22px;
border: none;
background: #B9B9B9;
color: #000000;
}
/* Menu */
#menu {
float: right;
width: 500px;
height: 90px;
margin: 0 auto;
padding: 0;
}
#menu ul {
float: center;
margin: 0;
padding: 15px 0px 0px 0px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
display: block;
margin-right: 1px;
padding: 10px 0px 15px 30px;
text-decoration: none;
text-align: center;
font-size: 20px;
font-weight: 300;
color: #FFFFFF;
border: none;
}
#menu a:hover, #menu .current_page_item a {
text-decoration: none;
color: #000000;
}
#menu .current_page_item a {
}
/* Page */
#page {
padding: 30px 0px 0px 0px;
}
/* Content */
#content {
float: left;
width: 620px;
padding: 0px 40px 0px 0px;
background: url(images/img05.jpg) no-repeat right 40px;
}
.post {
overflow: hidden;
}
.post .title {
padding: 0px 0px 10px 0px;
letter-spacing: -3px;
}
.post .title a {
border: none;
color: #7D7764;
}
.post .meta {
margin-bottom: 30px;
padding: 0px;
text-align: left;
font-size: 16px;
}
.post .meta .date {
float: left;
}
.post .meta .posted {
float: right;
}
.post .meta a {
}
.post .entry {
padding: 0px 0px 10px 0px;
padding-bottom: 20px;
text-align: justify;
}
.links {
padding-top: 20px;
margin-bottom: 30px;
}
.more {
display: block;
float: left;
width: 88px;
height: 25px;
padding: 2px 0px 0px 0px;
margin-right: 10px;
background: url(images/img08.jpg) no-repeat left top;
text-align: center;
color: #FFFFFF;
}
.comments {
display: block;
float: left;
width: 88px;
height: 25px;
padding: 2px 0px 0px 0px;
background: url(images/img08.jpg) no-repeat left top;
text-align: center;
color: #FFFFFF;
}
/* Sidebar */
#sidebar {
float: right;
width: 320px;
margin: 0px;
padding: 0px 0px 0px 0px;
color: #000000;
}
#sidebar h2 {
padding: 0px 0px 30px 0px;
letter-spacing: -3px;
}
#sidebar a {
border: none;
}
#sidebar a:hover {
text-decoration: underline;
}
/* Calendar */
#calendar {
}
#calendar_wrap {
padding: 20px;
}
#calendar table {
width: 100%;
}
#calendar tbody td {
text-align: center;
}
#calendar #next {
text-align: right;
}
/* Three Column Footer Content */
#footer-content {
background: url(images/img04.png) no-repeat center top;
color: #E2B8C6;
}
#footer-bg {
overflow: hidden;
padding: 170px 0px;
}
#footer-content h2 {
margin: 0px;
padding: 0px 0px 20px 0px;
letter-spacing: -2px;
text-shadow: 1px 2px 0px #861F40;
font-size: 16px;
color: #FFFFFF;
}
#column1 {
float: left;
width: 320px;
margin-right: 20px;
}
#column2 {
float: left;
width: 320px;
}
#column3 {
float: right;
width: 320px;
}
/* Footer */
#footer {
height: 100px;
margin: 0 auto;
padding: 10px 0px 0px 0px;
/*background: url(images/img04.png) no-repeat center top;*/
}
#footer p {
margin: 0;
padding-top: 150px;
line-height: normal;
text-align: center;
color: #000000;
}
#footer a {
color: #000000;
}
#marketing {
overflow: hidden;
margin-bottom: 30px;
padding: 20px 0px 10px 0px;
border-top: 1px solid #E3E3E3;
border-bottom: 1px solid #E3E3E3;
}
#marketing .text1 {
float: left;
margin: 0px;
padding: 0px;
letter-spacing: -2px;
font-size: 14px;
color: #000000;
}
#marketing .text2 {
float: right;
}
#marketing .text2 a {
display: block;
width: 252px;
height: 38px;
padding: 15px 0px 0px 0px;
background: url(images/img07.jpg) no-repeat left top;
letter-spacing: -2px;
text-align: center;
font-size: 12px;
color: #000000;
}
.box1 {
overflow: hidden;
height: 100px;
background: url(images/img04.jpg) no-repeat center bottom;
}
.list-style1 {
margin: 0px;
padding: 0px;
list-style: none;
}
.list-style1 li {
padding: 7px 0px 7px 0px;
border-top: 1px dashed #E7E2DC;
}
.list-style1 .first {
padding-top: 0px;
border-top: none;
}
.list-style2 {
margin: 0px;
padding: 0px;
list-style: none;
}
.list-style2 li {
padding: 7px 0px 7px 0px;
background: url(images/img06.png) repeat-x left top;
}
.list-style2 a {
color: #E2B8C6;
}
.list-style2 a:hover {
color: #C76485;
}
.list-style2 .first {
padding-top: 0px;
background: none;
}
You mentioned:
I'm trying to make it so the bottom footer is just below the fold, so it can only be seen once you scroll down, and not seen we you first get to the page.
I don't think css alone is capable of doing this, I got a quick jsfiddle for you that may help.
windowHeight = $(window).height();
footerHeight = $(".footer").height();
$(".wrap").css({
"height": windowHeight + footerHeight
});

How to solve internet Explorer 7 css menu bug

I have an Internet Explorer 7 css issue with my navigation menu.
The links are getting pushed out of line in Internet Explorer.
I think I have a padding problem, any help would be great!!!
http://jsfiddle.net/558pA/
body {
font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444;
font-size: 62.5%;
text-rendering: optimizeLegibility;
background: #fff;
}
li {
list-style: none;
}
a:link, a:visited {
color: #4083a9;
outline: none;
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #205f82;
}
.green-btn {
background: #4cc44a;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
#header {
width: 100%;
height: 50px;
background: #333;
background: rgba(47, 47, 47, 0.98);
z-index: 9997;
}
#header-inner {
position: relative;
margin: 0 auto;
padding: 0 12px;
max-width: 970px;
}
#logo {
float: left;
padding: 0px 20px 0 0;
}
#logo a {
display: block;
width: 82px;
height: 50px;
background-repeat: no-repeat;
background-position: 0 50%;
background-image: url(../img/assets/chartego-logo.png);
-webkit-transition: opacity 0.2s ease;
-moz-transition: opacity 0.2s ease;
-o-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
#logo img {
height: 0;
}
#logo a:hover {
opacity: .6;
}
#nav {
margin: 0 0px 0 20px;
color: #777;
padding:0px;
float:right;
}
#nav>li {
float: right;
font-size: 1.25em;
line-height: 1;
}
#nav>li>a {
display: block;
height: 50px;
padding: 0 20px;
line-height: 50px;
text-decoration: none;
color: #999;
}
#nav>li#user-profile {
float: right;
}
#nav>li img {
float: right;
position: relative;
top:13px;
}
#nav li ul.tabs {
width: 180px;
padding: 0 0 10px 0;
background: #333;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
-webkit-border-top-left-radius: 0;
-moz-border-radius-topleft: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
-webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
-webkit-background-clip: padding-box;
-moz-background-clip: padding-box;
background-clip: padding-box;
z-index: 999;
position: absolute;
right: 0px;
}
#nav li ul.tabs li a {
display: block;
padding: 5px 15px;
font-size: 12px;
font-weight: normal;
line-height: 2;
color: #999;
background: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
#nav li ul.tabs li a:hover {
color: #ddd;
background: rgba(255, 255, 255, 0.1);
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
#nav li ul.tabs li {
clear: left;
margin: 0;
width: 100%;
}
#nav li#user-profile ul.tabs li:first-child a {
font-weight: bold;
}
#toggle-nav {
display: none;
}
#nav li#user-profile span.profile-name {
display: none;
}
#chart-btn {
background: #4cc44a;
color: white;
padding: 10px 20px;
margin-top: 8px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin-right: 20px;
}
#chart-btn a {
color: white !important;
}
/* =============================================================================
NAVIGATION MEDIA MAX 800PX
========================================================================== */
#media screen and (max-width: 800px) {
#header {
position: fixed;
height: 40px;
}
#toggle-nav {
position: absolute;
top: 0;
left: 0px;
display: block;
width: 48px;
height: 40px;
text-indent: -9999px;
background-repeat: no-repeat;
background-position: 15px 50%;
background-image: url(../img/assets/icon-hamburger.png);
opacity: .5;
}
#logo a {
display: block;
height: 40px;
margin: 0 auto 0 auto;
}
#logo {
float: none;
padding-right: 0;
text-align: left;
}
#nav {
float: left;
width: 100%;
margin: 0 0 10px 0;
text-align: left;
}
#nav li {
position: relative;
float: none;
margin-right: 0;
text-align: left;
font-size: 12px;
background: rgba(47, 47, 47, 0.98);
}
#nav li ul.tabs {
display: block;
position: static;
float: none;
width: 100%;
left: 0;
margin: 0;
padding: 0;
background: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
#nav li ul.tabs li a {
padding: 15px;
font-size: 12px;
font-weight: normal;
line-height: 1;
text-transform: none;
}
#nav li#user-profile {
float: none;
}
#nav li#user-profile img {
float: left;
margin: 0 8px 0 0;
}
#nav li#user-profile span.profile-name {
display: inline;
}
#nav li a:hover {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
color: #fff;
}
#nav li ul.tabs li a:hover {
color: #999;
background: none;
}
#nav li#user-profile ul.tabs li:first-child {
display: none;
}
#header-inner {
width: auto;
padding: 0;
}
#nav li a {
height: auto;
padding: 15px;
font-size: 14px;
font-weight: bold;
line-height: 1;
border-top: 1px solid rgba(255, 255, 255, 0.08);
color: #fff;
}
#nav>li img {
top:0px;
}
#chart-btn {
background:none;
color: white;
padding: 10px 20px;
margin-top: 8px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
margin-right: 20px;
}
#chart-btn a {
color: white !important;
}
}

Resources