Layout problem after integrating a slideshow html css - html

one page of my website is locking like that:
http://www.pflanzspass.bplaced.net/
Yesterdy I tried to integrate a slideshow:
http://www.pflanzspass.bplaced.net/indextest.php
The slideshow is working, but now there are some new layout problems:
now:
before:
I don't know why.
This is my new css-Code for the slideshow:
* {box-sizing: border-box}
/*body {
font-family: Verdana, sans-serif;
margin:0
}*/
.mySlides {display: none}
img {vertical-align: middle;}
.slideshow-container {
max-width: 1000px;
position: relative;
margin: auto;
}
/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
color: #ffffff;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
color: #ffffff;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #999999;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #111111;
}
/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}
#-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
#keyframes fade {
from {opacity: .4}
to {opacity: 1}
}
/* On smaller screens, decrease text size */
#media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
}
This is the css-code, already online before added the slide-show css-code:
*{
margin: 0px;
padding: 0px;
}
body {
font-family:Verdana;
font-size:10px;
}
#wrapper{
width:1000px;overflow:hidden;
margin:0 auto 10px auto;background-image: url(./grafics/bg.gif);background-repeat:repeat-y;
}
/*-------------------------------------------------------------------*/
/* font-size */
/*-------------------------------------------------------------------*/
h1 {
font-size: 25px;
}
h2 {
font-size: 19px;
}
h3{
font-size:18px;
color:#660033;
}
h4, h5, h6 {
font-size: 16px;
}
p{
font-size: 14px;
margin-right:20px;
}
h2, h3, h4, h5, p{
margin-bottom:10px;
}
h5{
}
/*-------------------------------------------------------------------*/
/* links */
/*-------------------------------------------------------------------*/
a:link, a:visited, a:active, a:hover{
text-decoration:none;
color:#634142;
font-size:12px;
font-weight:bold;
}
a:active, a:hover{
text-decoration:underline;
}
/*-------------------------------------------------------------------*/
/* header */
/*-------------------------------------------------------------------*/
#header {
width:968px;
height:161px;
margin:0 13px 0 13px;
border:3px solid #000;
background-color: #000;
}
#header2{
width:974px;
height:65px;
padding:5px 0 0 0;
margin:0 13px 0 13px;
background:#fff;
clear:both;
}
#logo {
width:222px;
margin: 0 0 0 0;
padding: 0 5px 0 0;
float: left;
overflow: hidden;
}
#header-title {
height: 160px;
background: transparent url(banner_2.jpg) no-repeat 0 0;
float:left;
}
#ueberschrift {
padding:60px 0 0 20px;
color:#fff;
}
#ueberschrift p{
font-size:16px;
}
#content-header{
width:990px;height:60px;
padding:0 0 20px 10px;
}
#like{
width:77px;
margin:5px 30px 0 10px;
float:left;
}
#kaktus-banner{
width:468px;
margin:5px 0 0 129px;
float:left;
}
#wobinich{
width:964px;height:16px;
margin:0 13px 0 13px;
font-size:12px;
border-bottom:1px solid #000;
background:#fff;
float:left;padding:0 0 0 10px;
}
h2.title{
text-align:center;
height:40px;
font-size:30px;
background: transparent url(./grafics/bg-title1.gif) no-repeat 0px 35px;
}
h2.title2{
height:40px;
font-size:30px;
background: transparent url(./grafics/bg-title3.gif) no-repeat 0px 35px;
}
h2.gb{
height:30px;
background: transparent url(./grafics/bg-title3.gif) no-repeat 0px 25px;
}
/*-------------------------------------------------------------------*/
/* content */
/*-------------------------------------------------------------------*/
#content {
width:974px;
margin:0 13px 0 13px;
background:#fff;
float:left;
}
#content p{
line-height:24px;
}
#links{
width:185px;
margin:0 0 0 0;
float:left;
}
#mitte{
width:609px; /*609px*/
padding:10px 10px 0 10px;
float:left;
}
#mitte_a-z{
width:873px;
padding:10px 0 0 20px;
}
#mitte1{
width:767px;
padding:10px 10px 0 10px;
float:left;
}
#rechts{
width:160px;
margin:0 0px 10px 0;
float:right;
}
#film{
margin:10px 0 10px 182px;
}
#footer{
width:974px;height:30px;
font-size:12px;
line-height: 27px;
text-align:center;
color:#000;
border-top:1px solid #000;background:#fff;border-bottom:1px solid #000;background:#fff;
float:left;
}
#footer a{
font-weight:normal;
color:#000;
}
/*-------------------------------------------------------------------*/
/* navigation */
/*-------------------------------------------------------------------*/
.navtitle{
margin:0px;
background:#7fb37f;
text-align:center;
}
#navigationsleiste{
margin:0 16px 20px 0;padding:0 0 10px 0;
width:185px;background:#a5e8a5;
}
#navigationsleiste a{
display: block;
height: 20px;
padding:8px 0 0 19px;
color: #000;
text-decoration: none;
}
#navigationsleiste a:hover{
background: transparent url(./grafics/liste.gif) no-repeat 5px 12px;
}
#navigationsleiste a.aktiv{
background: transparent url(./grafics/liste.gif) no-repeat 5px 12px;
}
.link{
/*margin:0 16px -2000px 0;padding-bottom:2000px;*/
width: 185px;background:#a5e8a5;
}
.link a{
display: block;
height: 20px;
margin:2px;
padding:10px 0 10px 9px;
font-size:12px;
}
.link-re{
/*margin:0 0px -2500px 0;padding:0 0 2500px 0;*/
width: 160px;background:#a5e8a5;
}
.link-re a{
display: block;
height: 20px;
margin:0px;
padding:2px 0 0 20px;
font-size:12px;
font-weight:bold;
}
#zapp{
width:964px;height:20px;
margin:0 13px 0 13px;
font-size:12px;
background:#fff;
border-bottom:1px solid #000;
padding:10px 0 0 10px;
float:left;
}
.up{
margin:10px 0 10px 0px;
text-align:right;
}
.up a{
font-weight:bold;
}
.back{
margin:0 60px 0 0;
float:left
}
.zurueck{
float:left;
}
.ist{
float:left;
color:#a5a5a5;
margin-left:30px;
}
.vor{
margin:0 0 0 30px;
float:left;
}
/*-------------------------------------------------------------------*/
/* listenelemente */
/*-------------------------------------------------------------------*/
ul{
list-style-type:none;
}
li{
}
#mitte ul{
list-style-type:disc;
margin-left:15px;
}
#mitte li a{
}
ol{
font-size:14px;
margin:0 0 0 20px;
line-height:24px;
}
.cb{
clear:both;
}
img{
}
#table{
}
p.hn {
color: #870B0B;
}
p.se {
color:#057C11;
}
p.nanl {
color:#64057C;
}
p.bild {
float:left;
}

Remove height:20px form this style
.link a{
display: block;
height: 20px;
margin:2px;
padding:10px 0 10px 9px;
font-size:12px;
}

* {
box-sizing: border-box;
}
.link a {
display: block;
height: auto;
margin: 2px;
padding: 10px 0 10px 9px;
font-size: 12px;
}

Related

Property: text-decoration-skip-ink does not exist: none

When I check my website with the W3C CSS Validator I get this errors:
Property text-decoration-skip-ink does not exist: none.
Property backdrop-filter does not exist: blur(10px).
I heard that this is an error from W3C.
Does this affect my website in the future? If so, How can I solve the errors?
This is my whole css:
#font-face{
font-family: 'montserrat';
src: url(../fonts/Montserrat-Light.ttf);
font-style: normal;
font-weight: 100;
}
#font-face{
font-family: 'playfair';
src: url(../fonts/PlayfairDisplay-Medium.ttf);
font-style: normal;
font-weight: 100;
}
html{
scroll-behavior: smooth;
text-decoration-skip-ink: none;
}
*{
padding:0;
margin:0;
box-sizing: border-box;
font-family: montserrat;
}
body{
background-color: white;
}
/* LOADER */
.preload{
position: fixed;
top:0;
width: 100%;
height: 100vh;
background: black;
display: flex;
justify-content: center;
align-items: center;
transition: 0.5s ease;
z-index:9999;
}
.loader {
border: 5px solid #ffffff;
border-top: 5px solid black;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 2s linear infinite;
}
#keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.preload-finish{
opacity:0;
pointer-events: none;
}
/* BANNER & NAV */
.banner{
margin:0px;
position: relative;
width: 100%;
height: 100vh;
background-size:cover;
background-image: linear-gradient(to left, rgba(0,0,0,0.9),rgba(0, 0, 0, 0.6)), url(../img/pozabackground-home2.jpg);
background-position: center;
box-shadow:1px 2px 4px 0px #00000075 !important;
background-attachment: fixed;
}
.navigatie{
background-color:transparent;
width:100%;
position:fixed;
z-index: 99;
margin:0px;
padding:0px;
}
.logo {
float: left;
padding: 8px;
margin-left: 40px;
margin-top: 8px;
}
.navbar-brand{
color:white !important;
}
.navbar-brand img{
width: auto;
height: 100px;
margin:-32px 0px -25px 0px;
}
nav ul {
float: right;
list-style-type: none;
padding-top:5px;
margin-right:20px;
}
nav ul li {
float: left;
}
nav ul li:not(:first-child) {
margin-left: 48px;
}
nav ul li:last-child {
margin-right: 24px;
}
nav ul li a {
display: inline-block;
outline: none;
color: #fff;
text-transform: uppercase;
text-decoration: none;
font-size: 13px;
letter-spacing: 1.1px;
font-weight: 600;
}
nav ul li a:hover{
color:#fff;
text-decoration: underline;
}
/* FUNDAL JS */
.fundal{
background:#104f47 !important;
box-shadow:1px 2px 4px 0px #00000075 !important;
}
.fundal .nav-btn {
background-color:#104f47;
border-radius: 50%;
box-shadow:1px 2px 4px 0px #00000075;
}
.fundal .nav-btn i{
background: #fff;
border-radius: 2px;
}
#nav:checked + .nav-btn {
transform: rotate(45deg);
background-color: #104f47;
}
#nav:checked + .nav-btn i {
background: #fff;
transition: transform 0.2s ease;
}
#nav:checked + .nav-btn i:nth-child(1) {
transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-btn i:nth-child(2) {
opacity: 0;
}
#nav:checked + .nav-btn i:nth-child(3) {
transform: translateY(-6px) rotate(90deg);
}
#nav:checked ~ .nav-wrapper {
z-index: 9990;
display:block
}
#nav:checked ~ .nav-wrapper ul li a {
opacity: 1;
transform: translateX(0);
}
.hidden {
display: none;
}
/* MEDIA SCREEN NAVBAR PTR TLF */
#media only screen and (max-width: 991px){
.navigatie{
background-color:transparent;
width:100%;
position: absolute;;
z-index: 99;
margin:0px;
padding:0px;
}
.navbar-brand img{
height:100px;
margin:-20px 0px 0px 0px;
}
.nav-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: #fff;
display:none;
transition: all 0.2s ease;
}
.nav-wrapper ul {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
}
.nav-wrapper ul li {
display: block;
float: none;
width: 100%;
text-align: center;
padding-top:10px;
margin-bottom: 10px;
}
.nav-wrapper ul li:not(:first-child) {
margin-left: 0;
}
.nav-wrapper ul li a {
padding: 10px 24px;
opacity: 0;
color: #000;
font-size: 14px;
font-weight: 600;
letter-spacing: 1.2px;
transform: translateX(-20px);
transition: all 0.2s ease;
}
.nav-btn {
position: fixed;
right: 30px;
top: 28px;
display: block;
width: 47px;
height: 46px;
cursor: pointer;
z-index: 9999;
border-radius: 50%;
}
.nav-btn i {
display: block;
width: 20px;
height: 2px;
background: #fff;
border-radius: 2px;
margin-left: 14px;
}
.nav-btn i:nth-child(1) {
margin-top: 16px;
}
.nav-btn i:nth-child(2) {
margin-top: 4px;
opacity: 1;
}
.nav-btn i:nth-child(3) {
margin-top: 4px;
}
}
/* SCRIS DE LA BANNER */
.title{
position: absolute;
top:47%;
left:35%;
text-align: left;
transform: translate(-50%,-50%);
}
.title h1{
color:#fff;
font-family: playfair;
font-size:50px;
color:#f5f6f8;
padding-bottom: 20px;
letter-spacing:3px;
}
.title .button a{
display: inline-block;
font-size:12px;
text-transform: uppercase;
text-align: center;
padding:13px 20px;
border:none;
color:white;
font-family: montserrat;
text-decoration: none;
transition: 0.6s ease;
background-color:#104f47;
box-shadow:1px 2px 4px 0px #00000075;
outline:none;
border-radius: 5px;
}
.title .button a:hover{
background-color:#104f47;
color:white;
}
/* DESPRE NOI */
.About-head-section{
padding-top:0px;
padding-bottom:50px;
}
.servicii{
padding-top:130px;
padding-bottom:30px;
text-align: center;
}
.About-head-section .servicii h1{
margin-top: -45px;
padding-bottom: 15px;
font-size: 30px;
font-family: montserrat;
font-weight: 700;
text-transform: uppercase;
text-align: center;
color:#072523;
}
.About-head-section .servicii h1::after{
content:'';
background:#148071;
display:block;
width: 320px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.servicii p{
text-align: left;
padding-bottom:20px;
}
.buton-despre{
text-align: center;
}
.buton-despre a{
background-color: white;
border: 1px solid rgb(87, 87, 87);
color: rgb(24, 24, 24);
padding:10px 25px;
display: inline-block;
font-family: montserrat;
font-weight: normal;
text-decoration: none;
font-size:12px;
outline:none;
text-transform: uppercase;
}
.buton-despre a:hover{
background-color:rgba(241, 241, 241, 0.678);
}
.servicii img{
margin-top:20px;
width: 420px;
}
/* DE CE NOI */
.curved{
margin:0px;
padding-top:5px;
padding-bottom:50px;
clip-path:polygon(0 0, 100% 0, 100% 100%, 0 85%);
background:#b1b1b12c;
}
.details{
text-align:center;
color:rgb(24, 24, 24);
padding-top:50px;
padding-bottom:110px;
}
.details .row{
margin-right:-50px;
}
.details .container {
padding:0px;
}
.details h1{
margin:0px;
font-size: 30px;
font-family: montserrat;
font-weight: 700;
text-transform: uppercase;
padding-bottom:30px;
color:#072523;
}
.details h1::after{
content:'';
background:#148071;
display:block;
width: 875px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.details .interior{
text-align: left;
padding-top:10px;
margin-bottom:10px;
margin-right:10px;
}
.details .number span{
color:#072523;
font-size:35px;
font-weight: 700;
}
.details .number h2{
display: inline-block;
font-size:18px;
font-family: montserrat;
font-weight: bold;
text-transform: uppercase;
color:#072523;
}
.details p{
font-size:15px;
font-family: montserrat;
}
.details .coloana-scris{
padding-top:10px !important;
padding-left:30px;
}
.details .coloana-poza{
padding-top:35px;
}
.details .coloana-poza img{
background-repeat: no-repeat;
box-shadow: 0px 0px 5px 1px #bbbbbb;
}
/* SERVICII */
/* SERVICII */
/* features design */
/* boxes */
.explore-section{
margin:0;
padding:10px 10px 80px 10px;
padding-bottom:30px;
}
.explore-section .container{
/* flexbox style */
display:flex;
flex-direction: row;
justify-content: space-around;
flex-flow:wrap;
width: 100%;
}
.explore-section .container .box{
box-sizing: border-box;
margin:20px;
width: 320px;
box-shadow: 0px 0px 4px 1px #bbbbbb;
}
.explore-section .titlu h1{
padding-top:50px;
font-size: 30px;
font-family: montserrat;
font-weight: 700;
text-transform: uppercase;
padding-bottom:60px;
text-align: center;
color:#072523;
}
.explore-section .titlu h1:after{
content:'';
background:#148071;
display:block;
width: 720px;
height: 3px;
margin:10px auto;
}
.explore-section .container .box .scris{
padding:20px 20px 20px 10px;
}
.poza-servicii{
width: 100%;
}
.poza-servicii:hover{
opacity:0.8;
}
.poza-servicii h2{
padding-top:30px;
padding-bottom:20px;
letter-spacing: 1px;
font-family: montserrat;
text-transform: uppercase;
text-align: center;
color:white;
font-weight: 500;
font-size: 20px;
margin:10px;
}
.poza-servicii a{
text-decoration: none;
}
.buton-servicii{
text-align: center;
padding-top:0px;
padding-bottom:0px;
}
.buton-servicii a{
background-color: #104f47;
color: white;
border: none;
padding:10px 20px;
display: inline-block;
font-size:12px;
outline:none;
border-radius: 5px;
text-decoration: none;
text-transform: uppercase;
}
.buton-servicii::before{
content:'';
background:#104f47;
display:block;
width: 30px;
height: 3px;
margin:30px auto;
}
.buton-servicii a:hover{
background-color: #148071;
}
#media screen and (max-width:1200px){
.box{
width:20%;
}
#media screen and (max-width:600px){
.box{
width:65%;
}
}
}
/* TESTIMONIALS */
.testimonials{
background:#b1b1b12c;
padding-bottom:110px;
clip-path:polygon(0 0, 100% 15%, 100% 100%, 0 100%);
}
.testimonials-title h1{
padding-top:130px;
text-align: center;
font-size: 30px;
font-family: montserrat;
font-weight: 700;
text-transform: uppercase;
padding-bottom:30px;
color:#072523;
}
.testimonials .container{
margin:0 auto;
}
.testimonials .interior{
box-shadow: 0px 0px 4px 0.5px #bbbbbb;
padding:40px;
background:white;
margin-top:20px;
}
.testimonials .container .interior:hover{
background:#104f47;
}
.testimonials .interior p{
margin:0;
padding:0;
transition:0.5s;
font-family: montserrat;
padding-bottom: 15px;
}
.testimonials .interior h2{
margin:20px 0 0;
padding:0;
transition: 0.5s;
font-size:18px;
color:#104f47;
font-weight: 700;
line-height: 20px;
text-transform: uppercase;
}
.testimonials .container .interior h2 span{
font-weight: 600;
font-size:14px;
color:#afb8b7;
transition:0.5s;
}
.testimonials .container .interior:hover p,
.testimonials .container .interior:hover h2,
.testimonials .container .interior:hover h2 span,
.testimonials .container .interior:hover i{
color:#fff;
}
.testimonials .coloana i{
padding-bottom:15px;
font-size:40px;
transition:0.5s;
}
/* BACK TO TOP BUTTON */
#TopBtn {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
font-size: 15px;
width: 40px;
height: 40px;
z-index: 99;
border: none;
outline: none;
background-color: #8dadac;
color: white;
cursor: pointer;
border-radius: 5px;
}
#TopBtn:hover {
opacity:0.8;
}
/* ------------------------------------------TELEFON - 991 ------------------------- */
/* MEDIA */
#media only screen and (max-width: 991px){
.banner{
background-image: linear-gradient(to left, rgba(0,0,0,0.9),rgba(0, 0, 0, 0.6)), url(../img/pozabackground-home2-991px.jpg);
background-attachment: scroll;
}
.title .button a{
padding: 10px 16px;
}
/* DESPRE NOI */
.button button{
font-size: 12px;
}
.buton-despre{
text-align: center;
}
.servicii{
padding-top:100px;
padding-bottom:30px;
text-align: center;
}
.servicii .poza img{
width: 430px;
padding-top:50px;
padding-bottom:10px;
}
.servicii p{
padding-bottom:20px;
}
/* DE CE NOI */
.curved{
clip-path:polygon(0 0, 100% 0, 100% 100%, 0 95%);
padding-bottom:20px;
}
.details{
padding-top:30px;
padding-bottom:40px;
}
.details h1::after{
content:'';
background:#148071;
display:block;
width: 500px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.details .number h2{
font-size:18px;
padding-top:10px;
padding-bottom:10px;
text-align: left;
padding-left: 10px;
color:#148071;
}
.details .coloana-poza{
display:none;
}
/* SERVICII */
.explore-section .titlu h1:after{
width: 150px;
height: 3px;
margin:10px auto;
}
.explore-section{
margin:0;
padding:10px 10px 80px 10px;
padding-bottom:30px;
}
.explore-section .container{
/* flexbox style */
border-radius: 15px;
display:flex;
flex-direction: row;
justify-content: space-around;
flex-flow:wrap;
width: 100%;
}
.explore-section .container .box{
box-sizing: border-box;
margin:20px;
width: 300px;
border-radius:30px;
}
/* TESTIMONIALS */
.testimonials{
padding-bottom:80px;
clip-path:polygon(0 0, 100% 5%, 100% 100%, 0 100%);
}
}
#media only screen and (max-width: 400px){
/* DE CE NOI? */
.details .number i{
font-size:20px;
padding-right:5px;
}
.details .number h2{
font-size:14px;
padding-bottom:10px;
}
}
/* 700 ------------------------------------------------------------------- */
#media only screen and (max-width: 700px){
.title{
top:45%;
left:50%;
margin-right: -100px;
text-align: center;
}
.title h1{
padding-top:50px;
font-size:30px;
}
.title .button a{
font-size: 10px;
text-align: center;
padding:13px 20px;
margin-top:0px;
color:#fff;
}
}
/* 600 ------------------------------------------------------------------- */
#media only screen and (max-width: 600px) {
.navbar-brand img{
height:100px;
margin:-20px 0px 0px -20px;
}
.banner{
background-image: linear-gradient(to left, rgba(0,0,0,0.5),rgba(0, 0, 0, 0.7)), url(../img/pozabackground-home2-mobil.jpg);
}
.title h1{
font-size:30px;
text-align: center;
letter-spacing:2px;
}
.title .button a{
text-align: center;
padding:13px 20px;
margin-top:0px;
color:#fff;
font-size:13px
}
/* DESPRE NOI*/
.About-head-section{
padding-top:20px;
padding-bottom:30px;
}
.servicii{
padding-top:20px;
}
.About-head-section .servicii h1{
padding-top: 60px;
font-size: 23px;
padding-bottom: 20px;
text-align: left;
}
.About-head-section .servicii h1::after{
width: 150px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.buton-despre{
text-align: center;
margin-bottom:0px;
}
.servicii .poza img{
width: 320px;
padding-bottom:10px;
}
/* DE CE NOI */
.curved{
margin:0px;
padding-top:30px;
}
.details{
padding-top:20px;
padding-bottom:50px;
padding-left:20px;
}
.details .row {
margin-right: -20px;
}
.details h1{
margin:0px 0px 0px 12px;
font-size: 23px;
padding-bottom: 5px;
text-align: left;
}
.details h1::after{
width: 150px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.details .interior{
margin-bottom:25px;
text-align: left;
margin-right: 0px;
}
.details .number i{
font-size:30px;
padding-right:0px;
text-align: left;
}
.details .number h2{
font-size:18px;
padding-top:10px;
padding-bottom:10px;
text-align: left;
padding-left: 10px;
}
.details p{
padding-top:0px;
padding-left:0px;
font-size:15px;
padding-bottom:15px;
}
.details .coloana-scris {
padding-top: 10px !important;
padding-left: 10px;
}
/* SERVICII */
.explore-section{
padding:0px 15px 50px 15px;
}
.explore-section .titlu h1{
margin-top:0px;
font-size:23px;
padding-bottom:5px;
text-align: left;
margin-left: 20px;
}
.explore-section .titlu h1:after{
width: 150px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.explore-section .container .box{
border-radius: 15px;
box-sizing: border-box;
margin:20px 0px 20px 0px;
width: 100%;
}
.poza-servicii h2{
padding:10px 5px 0 5px;
}
/* TESTIMONIALS */
.testimonials h1{
padding-top:100px;
font-size:23px;
text-align: left;
margin-left:30px;
padding-bottom: 10px;
}
.testimonials h1::after{
content:'';
background:#148071;
display:block;
width: 150px;
height: 3px;
margin:10px auto;
margin-left:-50px;
}
.testimonials .interior {
padding: 20px;
}
/* BACK TO TOP BUTTON */
#TopBtn {
font-size: 15px;
width: 47px;
height: 47px;
border-radius: 50px;
}
}
/* 450-----------------------------*/
#media only screen and (max-width: 450px) {
.title .button a{
text-align: center;
border:none;
color:#fff;
font-size:12px;
padding:12px 17px;
}
.banner{
background-attachment: scroll;
}
/* DESPRE NOI */
.servicii .poza img{
width: 240px;
}
}
/* 300-----------------------------*/
#media only screen and (max-width: 300px) {
.navbar-brand img{
height:100px;
margin:-20px 0px 0px -20px;
}
.title h1{
font-size:23px;
}
.title .button a{
text-align: center;
padding: 10px 13px;
margin-top:6px;
border:none;
color:#fff;
text-decoration: none;
transition: 0.6s ease;
font-size:12px;
}
.interior h2{
font-size:13px;
}
.banner{
background-attachment: scroll;
}
/* DE CE NOI */
.details .row {
margin-right: -20px;
}
}
/* INCLUDE LA FOOTER SI CONTACT */
/* PARTEA DE CONTACT */
.background-contact{
background-image: linear-gradient(to left, rgba(0,0,0,0.9),rgba(0, 0, 0, 0.6)), url(../img/background-contact-3-fullscreen.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: scroll;
padding: 50px 0px 50px 0px;
}
.mesaj{
padding-top:80px;
padding-bottom:50px;
text-align: center;
}
.mesaj h1{
color:#fff;
font-family: montserrat;
font-size: 30px;
text-transform: uppercase;
color:#fff;
}
.buton-contact{
text-align: center;
padding-bottom:45px;
}
.buton-contact a{
border: none;
padding:12px 30px;
color:#fff;
text-decoration: none;
transition: 0.6s ease;
background-color:#104f47;
box-shadow:1px 2px 4px 0px #00000075;
border-radius: 5px;
}
.buton-contact a:hover{
background-color:#104f47;
color:white;
border:none;
text-decoration: none;
}
/* FOOTER */
.page-footer{
background-color: #222 !important;
color:white !important;
margin-top:-50px !important;
}
.page-footer .social-media{
padding-top:20px !important;
}
.page-footer .container{
padding-top:50px;
}
.page-footer ul li a{
text-decoration: none !important;
color:#fff !important;
font-size:14px;
}
.page-footer ul li a:hover{
text-decoration: none !important;
color:#104f47 !important;
}
.social-media a i{
padding-top:10px;
width: 50px;
height: 45px;
background-color: #333;
border-radius:50%;
}
.social-media a i:hover{
color:#104f47 !important;
}
.social-media{
margin-top:-20px;
padding-bottom:20px;
margin-left: 10px;
}
.footer-copyright{
background-color:#333;
}
.footer-copyright p{
margin-bottom:-5px;
font-size:13px;
}
.text-contact::after{
content:'';
background:#148071;
display:block;
width: 75px;
height: 2px;
margin-top:7px;
}
#media only screen and (max-width: 600px) {
/* CONTACT */
.mesaj h1{
font-family: montserrat;
font-size: 23px;
}
.background-contact{
background-image: linear-gradient(to left, rgba(0,0,0,0.9),rgba(0, 0, 0, 0.6)), url(../img/background-contact-3.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: scroll;
padding: 4px 0px 0px 0px;
}
.text-contact::after {
content: '';
background: #148071;
display: block;
width: 75px;
height: 2px;
margin: 10px auto;
}
}
#media only screen and (max-width:400){
body{
font-size:13px;
}
.banner-contact{
background-attachment: scroll;
}
}
#media only screen and (max-width: 300px) {
body{
font-size:13px;
}
.banner-contact{
background-attachment: scroll;
}
.mesaj h1{
font-family: montserrat;
font-size: 19px;
}
}
It seems text-decoration-skip-ink is in working draft phase.
Check this
mdn-documentation
which also indicates lack of cross-browser support at this point.
This is a just warning. So just ignore it.
We hope that in the future this property will work in all browsers.

Website shows white space on the right part of page

We are making a website in a team, and we struck at the famous white blank space in the right of page problem. We are looking for other possible causes.
In the homepage, there is a blank white part on the right for
iOS(Iphone5 and Ipad, browsers are Safari and Chrome)
Mac(Browsers are Safari and Chrome)
Ubuntu(Firefox)
but, the same problem is not seen in the Android with chrome or Ubuntu with chrome.
We have tried the following suggestions in the StackOverflow, but no luck.
Setting body and html margin and padding 0
Setting img width 100%
Checking font sizes(most of them is defined 1.2 rem)
Also, I have checked each layout in the dev tools, but none of them appears to exceed body width.
We have also tried to add an extra div after footer, or changing position:fixed to-the-page-top, but the result were the same.
Anyone have a sugguestion?
html, body, div, span, {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
body {
line-height:1;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
display:block;
}
nav ul {
list-style:none;
}
blockquote, q {
quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content:'';
content:none;
}
a {
margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
input, button, textarea, select {
margin: 0;
padding: 0;
background: none;
border: none;
border-radius: 0;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
/*all-1.css*/
#charset "UTF-8";
html {
font-size: 62.5%;
}
body {
position: relative;
background-color: #fff;
color: #333;
font-size: 1.2rem;
font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*, *::before, *::after {
box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active {
text-decoration: none;
}
font-family:'Helvetica Neue','Helvetica','Arial',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'MS ゴシック',sans-serif;
.tyousei{}
.clearfix::after{
content: '';
display:block;
clear: both;
}
.btn img{
height:40%;
margin-top: 10px;
margin-left: 10px;
}
.btn .right-icon{
position: absolute;
top: 7px;
right: 10px;
}
.btn::before{
content: "";
position: absolute;
left:0%;
bottom:0px;
display: block;
width: 0%;
height: 2px;
background: #2F4D55;
transition: all .4s ease;
}
.btn:hover::before{
width: 100%;
}
#up-btn a{
position: fixed;
right:1%;
bottom:40%;
z-index: 5;
opacity: 0.8;
text-align: center;
height:50px;
width:50px;
padding-top: 8px;
border-radius: 25px;
background-color:#666;
}
#up-btn img{
display: inline-block;
width:65%;
height:75%;
}
.header{
width: 100%;
font-size: 0;
}
.global-navi{
height: 50px;}
.logo{
max-width: 250px;
width:40%;
min-width:200px;
float: left;
padding:20px 10px 10px 20px;
background-color: rgba(255,255,255,0.4)
}
.logo img{
display: block;
width: 100%;
height: auto;
}
.form-top{display: none;}
.sbox > *{
font-size: 1.2rem;
}
.form .sbtn{
width:34px;
height: 28px;
position: absolute;
left:517px;
top: 12px;
border:none;
font-size:20px;
outline: 0;
}
.suggestion{
border-bottom: solid 1px #666;
border-right: solid 1px #666;
border-left: solid 1px #666;
z-index:10;
}
.suggestion:hover{
background-color: rgba(240,240,240,1);
}
.word-suggestion{
width: 236px;
height: 30px;
font-size: 16px;
text-align: left;
padding: 7px 5px;
background-color: rgba(255,255,255,1);
color:#333;
}
.article-suggestion{
width: 350px;
height: 75px;
font-size:16px;
padding: 5px;
background-color: rgba(255,255,255,1);
}
.article-suggestion-title{
position: relative;
height:18px;
overflow:hidden;
font-weight:normal;
letter-spacing: 1px;
line-height:18px;
margin-bottom:12px;
text-decoration: underline;
color:#333;
}
.article-suggestion-desc{
position: relative;
height:30px;
overflow:hidden;
font-size:14px;
line-height: 16px;
color: #666;
padding-left:6px;
}
.article-suggestion-desc::after{
content: "";
position: absolute;
top:0px;
left:0px;
width:3px;
height:100%;
background-color: #74c0d5;
}
.article-number{
width: 350px;
height:30px;
background-color: rgba(255,255,255,0.7);
z-index:20;
font-size:14px;
color:#666;
text-align: center;
padding-top: 7px;
}
.result{
position: absolute;
top:41px;
left:282px;
z-index: 20;
}
#no-result{
width: 350px;
height:210px;
background-color: rgba(255,255,255,1);
border-bottom: solid 1px #666;
border-right: solid 1px #666;
border-left: solid 1px #666;
font-size:16px;
line-height:20px;
padding:10px;
z-index: 10;
}
#no-result .kobetuba-mail-link{
display: block;
width:80%;
height:60px;
text-align: center;
margin:10px auto 5px;
border: solid 1px #666;
padding: 2px;
cursor: pointer;
border-radius: 3px;
position: relative;
}
#no-result .kobetuba-mail-link img{
height:32px;
}
#no-result .kobetuba-mail-link p{
font-size: 16px;
color:#666;
}
#no-result .right-icon{
position: absolute;
top:15px;
right:5px;
color:#666;
}
#no-result .kobetuba-mail-link:hover{
background-color: rgba(230,230,230,0.6)
}
#media (min-width: 800px){
.form-top{
display: block;
position:relative;
}
}
.navi-box{
float:right;
}
.navi{
display: inline-block;
vertical-align: middle;
padding: 5px 2px;
}
#media (max-width:365px){
.article-and-toiro{
display: none;
}
}
#media (min-width:768px){
.article-and-toiro p
{font-size:16px;}
}
.message-box :hover{
opacity: 0.3;
}
.account :hover{
opacity: 0.7;
}
.article-and-toiro:hover {
background:rgba(255,255,255,0.2);
}
.navi-icon a{
position:relative
}
.navi-icon span{
display: inline-block;
top: -45px;
left: 30px;
width:20px;
height: 20px;
border-radius: 50%;
background-color: rgba(255,255,255,0.8);
position:absolute;
color: #666;
text-align: center;
line-height: 20px;
vertical-align: middle;
font-size:16px;
}
.wrapper {
width: 96%;
min-width: 320px;
max-width: 1200px;
padding-bottom:50px;
margin: 10px auto 20px;
}
footer{
display: none;
}
#media (max-width:800px){
footer{
display: block;
}
footer{
box-shadow: 0px -3px 4px -2px rgba(0, 0, 0, 0.1);}
.footer-bottom {
width: 100%;
position: fixed;
bottom: 0;
height:44px;
border-top:double #2F4D55;
background-color: #fff;
padding-top: 5px;
/*background-color:#2F4D55;*/
}
.footer-bottom.close{
box-shadow: 0px -6px 8px -2px rgba(0, 0, 0, 0.3);}
.footer-bottom img{
height:70%;
display: block;
margin:0 auto;
}
.footer-open{
width:100%;
position: fixed;
bottom: 0;
background-color:#fff;
z-index: 10;
}
.footer-bottom.open{
border-top:solid 1px #696969
}
.category-list-bottom {
width:100%;
position: fixed;
top:0px;
bottom: 0px;
left:0px;
right:0px;
overflow-y: scroll;
height:100%;
text-align: center;
background-color:rgba(255,255,255,0.9);
box-shadow: 0px -6px 8px -2px rgba(0, 0, 0, 0.3);
}
}
.category-list-bottom{
}
.close-btn{
height:30px;
background-color: rgba(100,100,100,0.3)
}
.down-icon{
color: #666;
}
.category-list-bottom .form-bottom{
display: inline-block;
width: 100%;
padding-bottom:10px;
position: relative;
}
.category-list-bottom .form .sbtn{
position: absolute;
top:41px;
left:10px;
width:40px;
height:40px;
border-radius:20px;
background-color: transparent;
border:solid 2px #2F4D55;
color:#737575;
box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, 0.3);
}
.category-list-bottom .form-bottom{
display: inline-block;
width: 100%;
}
.category-list-bottom .form .sbox{
position:absolute;
top:18px;
right:11%;
left:2%;
width:85%;
height:44px;
font-size: 16px;
border:solid 1px #535353;
}
.category-list-bottom .form .sbtn{
position: absolute;
top:20px;
right:2%;
left:88%;
border-radius: 50%;
}
.result-word-suggestion{
position: absolute;
top:64px;
right: 11%;
left: 3%;
width:85%;
z-index: 10;
}
.result-article-suggestion{
position: absolute;
top:64px;
right: 11%;
left: 2%;
width: 95%;
z-index: 10;
}
.form-bottom .word-suggestion{
width:100%;
height: 64px;
/* font-size: 16px; */
z-index: 100;
background-color: #f2fbfd;
}
.form-bottom .article-suggestion{
width: 100%;
z-index: 100;
text-align: left;
background-color: #f2fbfd;
border-left:solid 1px rgba(0,0,0,0.3);
border-right:solid 1px rgba(0,0,0,0.3);
}
.form-bottom .article-number{
width:100%;
z-index: 100;
text-align: center;
background-color: #f2fbfd;
border-left:solid 1px rgba(0,0,0,0.3);
border-right:solid 1px rgba(0,0,0,0.3);
}
.form-bottom .article-suggestion:hover,.form-bottom .article-number:hover{
background-color: rgba(255,255,255,1);
}
#form-bottom-no-result{
width:100%;
z-index: 100;
background-color: #f2fbfd;
border-left:solid 1px rgba(0,0,0,0.3);
border-right:solid 1px rgba(0,0,0,0.3);
border-bottom:solid 1px rgba(0,0,0,0.3);
font-size: 16px;
padding: 10px;
line-height: 20px;
color: #666;
text-align: left;
}
#form-bottom-no-result .kobetuba-mail-link{
display: block;
width:95%;
margin:10px auto 5px;
height:70px;
padding: 3px;
border: solid 1px #666;
border-radius: 3px;
font-size:16px;
text-align: center;
position: relative;
cursor: pointer;
}
#form-bottom-no-result .kobetuba-mail-link img{
max-height:60%;
max-width:95%;
}
#form-bottom-no-result .kobetuba-mail-link .right-icon{
position: absolute;
top:50%;
right:10px;
color:#666;
}
#form-bottom-no-result .kobetuba-mail-link:hover{
background-color: rgba(230,230,230,0.4)
}
.category-list-bottom .category-list-wrapper{
padding:55px 7px 7px;
text-align: left;
min-height:370px;
height:90%;
}
.category-list-bottom .category-list{
margin-top:5px;
margin-bottom:5px;
position: relative;
height:35%;
border:solid 1px #acabab;
border-bottom:solid 2px #2F4D55;
background-color:rgba(255,255,255,0.5)
}
.category-list-bottom .category-list-img{
position:absolute;
top:50%;
left:50%;
transform: translateX(-50%) translateY(-50%);
padding-top:2px;
padding-bottom:2px;
}
.category-list-bottom .category-mini-list-wrapper li{
height:44px;
list-style: none;
margin:6px 10px 6px 10px;
padding:12px 7px;
background-color: rgba(200,200,200,0.5);
border-radius: 7px 22px 22px 7px;
zoom:0.8;
position: relative;
}
.category-list-bottom .article .category-mini-list-wrapper li{
display: inline-block;
width:47%;
margin-top:3px;
margin-bottom:3px;
margin-right: 0px;
}
.category-list-bottom .right-icon{
color:#666;
position: absolute;
top:50%;
right:5px;
transform:translateY(-50%);
}
.category-list-bottom .category-list.torio{
height:25%;
border-radius: 3px 22px 22px 3px;
text-align: center;
}
.category-list-bottom .category-list.torio img{
zoom:0.8;
}
.category-list-bottom .category-list.torio .new-icon{
margin-top:40px;
padding-left: 160px;
width:210px;
}
.category-list.all-close{
height:35%;
}
.category-list.close{
height:30%;
min-height:80px;
}
.category-list.close .category-mini-list-wrapper,.category-list.all-close .category-mini-list-wrapper{
display: none;
}
.category-list.open{
height:auto;
border:none;
}
.category-list.open .category-list-img{
display:block;
position:relative;
top:0;
left:0;
transform:none;
margin:5px auto;
}
.category-list.open .right-icon{
display:none;}
.category-list.open .category-mini-list-wrapper{
display:block}
#media (max-width:500px){
.category-list.close{height:44px}
}
#media (max-width:346px){
.category-list-bottom .article .category-mini-list-wrapper li{
display: inline-block;
width:45%;
}
.category-list-bottom .article .category-mini-list-wrapper img{
zoom:0.9;
}
}
#media(min-width:500px){
.category-list-bottom .kobetuba .category-mini-list-wrapper li{
display: inline-block;
width:46%;
margin-top:3px;
margin-bottom:3px;
}
.category-list-bottom .kobetuba .category-mini-list-wrapper img{
zoom:0.9;
}
}
/* hp_style-1.css */
#charset "UTF-8";
html {
font-size: 62.5%;
}
body {
background-color: #fff;
color: #333;
font-size: 1.2rem;
font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
*, *::before, *::after {
box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active {
color: #7C5119;
text-decoration: none;
}
font-family: 'Helvetica Neue','Helvetica','Arial',YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'MS ゴシック',sans-serif;
.header{
width: 100%;
}
.main-visual{
height: 250px;
background-image: url(../img/main-visual-mini.jpg);
background-position: center center;
background-size: cover;
position: relative;
}
#vision{
padding:10px;
position: absolute;
top:40%;
right:2%;
width:45%;
min-width:270px;
max-width:450px;
z-index: 0;
}
#media(max-width:568px){
#vision{background-color: rgba(237,231,221,0.8)}
}
#media (min-width:500px){
.main-visual{
background-image: url(../img/main-visual.jpg);}
}
#media (min-width: 800px){
.main-visual{
height:450px;
background-image: url(../img/main-visual.jpg);
position: relative;
background-position: center;
}
#vision{
background-color: transparent;
}
}
#media (min-width: 1020px){
#vision{
top:30%;
width:55%;
left:55%;
}
}
.sbox{
border:solid 1px #535353;
background-color: rgba(255,255,255,0.3)
}
.form .sbtn{
color:#999;
/*ここから臨時対応*/
border-leftsolid 1px #737575;
}
.sbtn:hover{
color#151e76;
}
.suggestion{
border:none;
border-bottom: solid 1px #666;
}
.suggestion:hover{
opacity: 1;
background-color: rgba(255,255,255,0.9);
}
.word-suggestion{
background-color: rgba(255,255,255,0.4);
}
.article-suggestion{
background-color: rgba(255,255,255,0.7);
}
#no-result{
background-color: rgba(255,255,255,0.8)
}
.message-box :hover{
opacity: 0.6;
}
.account :hover{
opacity: 0.6;
}
.category-navi{
display: none;
}
/*タブレット縦以降*/
#media (min-width: 801px){
.category-mini-list{
list-style-type:none;
}
.category-navi{
display: block;
width: 100%;
height: 50px;
background-color: rgba(255,255,255,0.7);
position: absolute;
bottom: 0px;
border-bottom:double #022567;
font-size: 0;
padding-left:5%;
padding-right:5%;
text-align: center;
}
.category-list {
display: inline-block;
position: relative;
width: 30%;
top:0px;
min-width: 130px;
height: 50px;
vertical-align: middle;
padding-left: 16%;
padding-right: 16%;
}
.category-list-button{
position:absolute;
width: auto;
max-width: 280px;
top:0;
bottom: 0;
left: 0;
right:0;
margin: auto;
cursor: pointer;
}
.category-list-img {
position: absolute;
top: 60%;
left: 50%;
transform: translateX(-50%)translateY(-50%);
width: auto;
max-width: 100%;
height:auto;
margin: auto;
}
.category-list.toiro .category-list-img {
top: 50%;
}
.category-list:hover{
background:rgba(116,192,213,0.3);
}
.category-mini-list-wrapper{
display: none;
background-color: rgba(255,255,255,0.7);
position: absolute;
bottom:50px;
left:0;
width:100%;
height:192px;
opacity: 0.9;
text-align: center;
}
.category-mini-list{
width: 100%;
padding:10px 15px;
}
.category-list-mini-img {
width:auto;
max-width: 100%;
height:auto;
}
.category-mini-list:hover{
background: rgba(116,192,213,0.1);
}
.category-list.toiro .new-icon{
margin-top:15px;
padding-left: 55px;
width:100px;
height:40px;
}
}
.wrapper{
padding-top:20px;
}
section{
margin-top: 40px;
}
#media (min-width: 920px){
.wrapper{
width: 90%;
margin: 20px auto 40px;}
}
#media (max-width:800px){
.recomend,.new {
width:100%;
}
}
#media(min-width:800px){
.new{
width:
}
}
Maybe you didn't set the body/html width and height.
Try this:
html,body
{
width: 100%;
height: 100%;
margin: 0px;
padding: 0px;
overflow-x: hidden;
}
I added
overflow-x: hidden
You should remove this line, if you need to scroll left and right.

how change images size according to media query?

I'm trying to implement this portfolio in this link :
http://www.htmldrive.net/items/demo_show/1258
I download and implement it in my mvc5 project and it works fine,but I have some problem in css and media query used in this portfolio .I want to make some changes in size of images and number of columns when I shrink the browser . in this portfolio all images should be 144x144px in 4 columns but I don't want it . I want bigger images, also I want it worke like bootstrap grid system , but when I shrink the browser columns changed to 1 column.can anyone help me ?
I don't know anything about media query.
2 css files :
/* CSS reset */
body,div,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
html,body {
margin:0;
padding:0;
height: 100%;
}
img {
border:0;
}
header{
display: block;
}
/* General Demo Style */
body{
font-family: Arial, Helvetica, sans-serif;
background:url(images/bg.png);
font-size: 14px;
color: #3a2127;
}
a{
color: #333;
text-decoration: none;
}
#container{
position: relative;
}
.clr{
clear: both;
}
#container > header{
padding: 20px 20px 20px 20px;
position: relative;
display: block;
text-align: center;
}
#container > header h1{
position: relative;
color: #275973;
font-weight: 700;
font-style: normal;
font-size: 25px;
padding: 0px 0px 5px 0px;
text-shadow: 0px 1px 1px rgba(255,255,255,0.8);
}
#container > header h1 strong{
font-family: 'Open Sans Condensed','Arial Narrow', Arial, sans-serif;
padding:0px 5px 0px 5px;
line-height:35px;
color:#275973;
font-size:28px;
text-transform: uppercase;
}
#container > header h1 span{
font-family: 'Alegreya SC', Georgia, serif;
font-size: 20px;
line-height: 20px;
display: block;
font-weight: 400;
font-style: italic;
color:#5a99ba;
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
}
/* Buttom Style */
.freshdesignweb-top{
text-align:center;
color:#275973;
line-height: 44px;
font-size: 11px;
background: rgba(0, 0, 0, 0.1);
text-transform: uppercase;
position: relative;
box-shadow: 3px 0px 5px rgba(0,0,0,0.2);
}
.freshdesignweb-top a{
color:#fcca00;
}
.freshdesignweb-top a:hover{
color:#0b2f42;
}
.freshdesignweb-top h1{
margin:0 auto;
width:490px;
background:url(images/logo.png) no-repeat;
font-weight:bold;
font-family: 'Open Sans Condensed','Arial Narrow', Arial, sans-serif;
text-transform: uppercase;
font-size:36px;
text-shadow: 2px 2px 0px #F2F2F2, 1px 2px 0px #B1B1B2;
}
/* Buttom Style */
.freshdesignweb-buttom{
font-family: 'Open Sans Condensed','Arial Narrow', Arial, sans-serif;
color:#009;
line-height: 24px;
font-size: 11px;
background: rgba(0, 0, 0, 0.1);
text-transform: uppercase;
position: relative;
box-shadow: 3px 0px 5px rgba(0,0,0,0.2);
}
.freshdesignweb-buttom a{
padding: 0px 10px;
letter-spacing: 1px;
text-shadow: 0px 1px 1px #fff;
display: block;
float: left;
}
.freshdesignweb-buttom a:hover{
background:#FFF;
}
.freshdesignweb-buttom span.right{
float: right;
font-weight:bold;
}
.freshdesignweb-buttom span.right a{
display: block;
}
.freshdesignweb{
margin:0 auto;
width:650px;
}
/* Portolio Hover */
.da-thumbs li ,
.da-thumbs li img {
display: block;
position: relative;
}
.da-thumbs li {
overflow: hidden;
}
.da-thumbs li article {
position: absolute;
background-image:url(images/image_hover.png);
background-repeat:repeat;
width: 100%;
height: 100%;
}
.da-thumbs li article.da-animate {
-webkit-transition: all 0.2s ease;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
/* Initial state classes: */
.da-slideFromTop {
left: 0px;
top: -100%;
}
.da-slideFromBottom {
left: 0px;
top: 100%;
}
.da-slideFromLeft {
top: 0px;
left: -100%;
}
.da-slideFromRight {
top: 0px;
left: 100%;
}
/* Final state classes: */
.da-slideTop {
top: 0px;
}
.da-slideLeft {
left: 0px;
}
.da-thumbs li article a {
color:#fff;
padding:20px;
display:block;
}
.da-thumbs {
text-align:center;
}
.da-thumbs li article h3{
color:#fff;
padding-top:30px;
}
.da-thumbs li article em{
margin-bottom:10px;
color:#fff;
display:block;
}
.da-thumbs li article span{
display:inline-block;
}
span.link_post{
display:block;
width:35px;
height:35px;
background-color:#DF6232;
border-radius:50px;
cursor:pointer;
background-image:url(images/link_post_icon.png);
background-repeat:no-repeat;
background-position:center;
margin-right:10px;
}
span.zoom{
overflow:hidden;
display:block;
width:35px;
height:35px;
background-color:#DF6232;
border-radius:50px;
cursor:pointer;
background-image:url(images/zoom_icon.png);
background-repeat:no-repeat;
background-position:center;
margin-left:10px;
}
.portfolio_2col article h3{
padding-top:70px !important;
}
/* Image Grid */
.image_grid {
float:left;
overflow:hidden;
width:700px;
position:relative;
}
.image_grid li{
float: left;
line-height: 17px;
color: #686f74;
list-style:none;
overflow:hidden;
margin-bottom:23px;
margin-right:23px;
text-align:center;
}
/* Responsive image grid*/
/* Mobile landscape width 320 */
#media only screen and (max-width: 767px) {
.image_grid{
width:300px;
}
.image_grid li img{
width:220px;
}
.portfolio_4col .da-thumbs li article h3{
padding-top:70px;
}
.portfolio_3col .da-thumbs li article h3{
padding-top:50px;
}
.portfolio_2col .da-thumbs li article h3{
padding-top:53px !important;
}
}
#media only screen and (min-width: 480px) and (max-width: 767px) {
.image_grid{
width:450px;
}
.image_grid li{
width:178px !important;
}
.portfolio_4col .da-thumbs li article h3{
padding-top:58px;
}
.portfolio_3col .da-thumbs li article h3{
padding-top:34px;
}
.portfolio_2col .da-thumbs li article h3{
padding-top:23px !important;
}
}
You can use the same code and style in the example with larger image.
Delete or Change the width in the below style rules.
.freshdesignweb {
margin: 0 auto;
width: 650px;
}
.image_grid {
float: left;
overflow: hidden;
width: 700px;
position: relative;
}

Issue with designing a website - css/html

I have a little problem at designing a website:
In this website a have a top navigation bar and is composed by : number of search results found, search bar, login methods.
All i am asking for is how i can set the "websitelocation" div and search input aligned to the left and "loginMethods" div aligned to the right (in topbar of course).
I want to mention that i tried on loginMethods div left:0; css property but it did nothing.
Here is a jsfiddle setup of layout : http://jsfiddle.net/UZSpz/ .
Code :
html
<body>
<nav>
<h1 class="logo">project</h1>
<ul>
<li id="events_list">
<a href="#events">
<img src="img/menu/services2.png" width="35px" height="35px" style="margin-top:0px;margin-bottom:0xp;padding:0px;" />
<p class="eName">Events</p>
</a>
</li>
<li id="users_list">
<a href="#following">
<img src="img/menu/crowdsourcing.png" width="35px" height="35px" style="margin-top:0px;margin-bottom:0xp;padding:0px;" />
<p class="eName">Users</p>
</a>
</li>
<li>
<a href="#messages">
<img src="img/menu/comment25.png" width="35px" height="35px" style="margin-top:0px;margin-bottom:0xp;padding:0px;" />
<p class="eName">Messages</p>
</a>
</li>
</ul>
</nav>
<div class="topbar">
<div class="websiteLocation">
<img src="img/dark.png" width="25px" height="15px" style="margin-top:10px;margin-right:7px;" />3 events found..
</div>
<input type="text" class="inputSearch" value="Search events.." />
<div class="loginMethods">asdasds</div>
</div>
<div class="content">
content
</div>
</body>
css
html, body {
background: #343434;
height: 100%;
overflow: hidden;
position: relative;
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
}
/* NAVIGATION RULES (left bar) */
nav {
background: #565656;
color: #b4b4b4;
margin:0px;
top: 0;
bottom: 0;
left: 0;
position: absolute;
border-right:7px solid #2b2b2b;
width: 86px;
}
nav .logo {
opacity: 0.5;
background-color: rgb(44, 44, 44);
background-image:url('../img/logo2.png');
height:60px;
border-bottom:1px solid #353535;
margin:0px;
padding:0px;
}
nav a {
text-decoration: none;
cursor:pointer;
margin: 0px;
padding: 0px;
}
nav .logo:hover {
opacity: 1;
background-position-x: 0%;
background-position-y: 100%;
background-size: initial;
background-repeat-x: no-repeat;
background-repeat-y: no-repeat;
background-attachment: initial;
background-origin: initial;
background-clip: initial;
background-color: rgb(44, 44, 44);
-moz-transition: opacity .7s;
-webkit-transition: opacity .7s;
-o-transition: opacity .7s;
}
nav ul {
list-style-type: none;
padding: 0px;
margin: 0px;
}
nav li {
opacity: 1;
color:#b4b4b4;
cursor: pointer;
background: #676767;
border-bottom: 1px solid #494949;
padding: 10px 0 16px;
height:59px;
text-align: center;
margin: 0px;
}
nav li:hover {
background: #414242;
-moz-transition: background-color .5s;
-webkit-transition: background-color .5s;
-o-transition: background-color .5s;
}
nav li a {
text-decoration: none;
color:#b4b4b4;
font-size: 1.18em;
}
.eName {
font-family: 'Alegreya Sans SC', sans-serif;
font-size: 14px;
text-decoration: bold;
}
/* MENU CLASSES AND ELEMENTS */
.categories {
display: none;
position: absolute;
width:200px;
background:#383838;
top:0;
left:93px;
bottom:0;
z-index:11;
border-right: 7px solid #0a0a0a;
}
.categoryCapHolder{
width:100%;
height:40px;
padding-top:20px;
background: #2a2a2a;
border-bottom: 1px solid #3d3d3d;
}
.categoryCapHolder .categoryName {
overflow: hidden;
color:#a2a2a2;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 20px;
text-decoration: bold;
text-transform: uppercase;
margin-left:25px;
}
.categoryCapHolder .categoryName:hover {
color:#62c6ff;
}
.categories .subcategory {
width:170px;
height:32px;
padding-top: 10px;
padding-left:30px;
border-bottom: 1px solid #5f5f5f;
background: transparent;
overflow: hidden;
}
.categories .subcategory:hover {
background: #282828;
}
.categories .subcategory .subcategory_link {
margin-left:15px;
color:#62c6ff;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 16px;
text-decoration: bold;
text-transform: uppercase;
}
/* Top navigation bar rules */
.topbar {
z-index: 0;
background: #1d1d1d;
border-left: 7px solid #2b2b2b;
border-bottom: 1px solid #5b5b5b;
height: 60px;
left: 86px;
position: absolute;
right: 0;
top: 0;
}
/*######CUSTOMBTNS########*/
.topbar .websiteLocation {
color:#b4b4b4;
margin-left:50px;
margin-top:10px;
margin-right: 5px;
width: 150px;
overflow: hidden;
font-family: "Calligraffitti", sans-serif;
font-size:16px;
}
.topbar .inputSearch {
font-family: "Calligraffitti", sans-serif;
text-decoration: none;
background: url("../img/search.png") left no-repeat;
padding-left: 25px;
padding-top: 3px;
margin-top:5px;
margin-bottom:5px;
margin-left:5px;
right:0px;
width:150px;
height:23px;
border: 0px;
color:#b6b6b6;
}
.topbar .inputSearch:focus {
outline-color: transparent;
outline-style: none;
}
.loginMethods {
width:150px;
left:0;
}
/* Content rules */
.content {
bottom: 0;
left: 120px;
overflow: auto;
position: absolute;
right: 0;
top: 62px;
padding: 50px 25px 25px 20px;
}
.content .card {
background: #0e0e0e;
color:#a4a4a4;
width:250px;
height:320px;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
margin-right:20px;
margin-bottom: 15px;
overflow: hidden;
float: left;
z-index: 1;
}
.content .card .cover {
max-width:250px;
max-height:140px;
background: transparent;
float:left;
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.content .card .description {
width:100%;
height:50%;
display: block;
margin-top:150px;
}
.content .card .coverDetail {
position:absolute;
display: none;
color:#565656;
width:220px;
height:22px;
margin: 115px 0px 0px 0px;
padding-left:15px;
padding-right:15px;
background: #e8ff28;
border-top: 1px solid #ecf97e;
overflow:hidden;
z-index:10;
}
.content .card .coverDetail .save {
width:50px;
height:16px;
background:#565656;
color:#c4c4c4;
padding:1px 2px 4px 2px;
cursor:pointer;
border:0px;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
margin:1px 4px 0px 1px;
text-align: center;
}
.content .card .coverDetail .card-views {
width:50px;
height:16px;
background-size: 16px 16px;
padding:1px 2px 4px 2px;
border:0px;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
margin:1px 4px 0px 1px;
text-align: center;
}
.content .card .description .title {
color:#b4b4b4;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 20px;
text-decoration: none;
text-transform: capitalize;
margin-top:5px;
margin-left:10px;
overflow: hidden;
}
.content .card .description .title:hover {
color:#62c6ff;
border-bottom: 1px dotted #d9f1ff;
}
.content .card .description .text {
font-family: sans-serif;
font-size: 11px;
text-decoration: none;
text-transform: uppercase;
height: 80px;
margin-top: 5px;
margin-left: 10px;
width:90%;
overflow-y:hidden;
overflow-x:hidden;
}
.content .card .description .text .expand-card {
background:#565656;
color:#c4c4c4;
padding:2px 2px 2px 2px;
cursor:pointer;
border-radius:4px;
-moz-border-radius:4px;
-webkit-border-radius:4px;
width:75px;
height:16px;
margin:2px 1px 0px 1px;
text-align: center;
}
.content .card .description .author {
background:url('../img/user91.png');
background-size:10px 10px;
background-repeat:no-repeat;
color:#62c6ff;
bottom: 0;
font-family: sans-serif;
text-decoration: none;
text-transform: lowercase;
font-size: 9px;
padding-left:10px;
margin-left: 10px;
margin-top: 5px;
}
.authorlink {
text-decoration: none;
color:#62c6ff;
}
.content .card .description .category {
background:url('../img/category.png');
background-size:13px 13px;
background-repeat:no-repeat;
color:#62c6ff;
font-family: sans-serif;
text-decoration: none;
text-transform: lowercase;
font-size: 9px;
padding-left: 13px;
margin-left: 10px;
margin-top: 5px;
}
.categorylink {
text-decoration: none;
color: #62c6ff;
text-transform: capitalize;
}
Sorry if i've done something wrong in my code .
Thank you!
DEMO
Add this to your CSS:
.websiteLocation{
float:left;
}
.loginMethods{
float:right;
}
.loginMethods has black text on dark grey background, so is hard to see, but it's there.
left, right, top, bottom only works with position:absolute and position:fixed.
.topbar .inputSearch {
position: absolute;
font-family: "Calligraffitti", sans-serif;
text-decoration: none;
background: url("../img/search.png") left no-repeat;
padding-left: 25px;
margin-bottom:5px;
margin-left:5px;
right:0px;
width:150px;
height:23px;
border: 0px;
color:#b6b6b6;
}
.loginMethods {
width:150px;
position: absolute;
left:0;
}
and you can use another method in Table
<input type="text" class="inputSearch" placeholder="Search events.." />

Distance between header and page list blogger

I have a problem positioning the header and the page list on blogger. I want the distance between the header and the page list to be bigger so I tried to add the height in the header wrapper but in vain. I tried to play with margins but I failed. Please help. Here is the code :
http://alittlegirlfromparis.blogspot.com/
/* Header
-----------------------------------------------
*/
#header-wrapper {
height: 343px;
margin: auto;
padding: 0;
width: 1100px;
}
#header-inner {
float: left;
padding-left: 15px;
}
#header {
height:400px;
width: 1100px;
text-align: center;
color:#553b14;
text-shadow:1px 1px 1px #ccc;
}
#header h1 {
padding:25px 10px 10px 0px;
line-height:1.2em;
text-transform:uppercase;
letter-spacing:0em;
font: normal normal 30px 'Josefin Sans';
display:none;
}
#header a {
color:#553b14;
text-decoration:none;
}
#header a:hover {
color:#553b14;
}
#header .description {
padding:0px 10px 0px 0px;
text-transform:normal;
line-height: 1.4em;
font: normal 12px 'Josefin Sans';
color:#553b14;
}
#header img {
margin-left: auto;
margin-right: auto;
}
/* Nav
-----------------------------------------------
*/
#garis {
position: absolute;
top: 0px;
width: 1100px;
}
#PageList1 {
position: fixed;
list-style-type:none;
float:left;
width: 1100px;
font-size:14px;
background:#fff;
}
.PageList li a {
float: none;
color:#000;
text-decoration: none;
text-align:center;
font:16px 'Calibri';
}
.PageList li a:hover{
color:#b3afaf;
text-decoration:none;
}
.crosscol .PageList li, .footer .PageList li {
float:left;
list-style:none outside none;
}
.PageList li.selected a {
color:#000;
}
.PageList li.selected a:hover {
color:#b3afaf;
}
/* Outer-Wrapper
----------------------------------------------- */
#outer-wrapper {
background:#ffffff url(http://i56.tinypic.com/dnygs1.jpg) no-repeat top;
margin: auto;
width: 1100px;
text-align:left;
font: normal normal 100% Georgia, Serif;
box-shadow:0 1px 6px #000;
border-top:30px solid #000;
}
#content-wrapper {
padding-top:10px;
padding-left:10px;
padding-right:5px;
}
#main-wrapper {
float:left;
width: 800px;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
padding:5px;
border-right: 1px dashed #CCCCCC;
}
#sidebar-wrapper {
width: 250px;
float: right;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
/* Headings
----------------------------------------------- */
h2 {
margin:1.5em 0 .75em;
font: 25px 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif;
line-height: 1.4em;
text-transform:normal;
letter-spacing:0em;
color:#999999;
}
/* Posts
-----------------------------------------------
*/
h2.date-header {
margin:0em 0 .75em;
font: italic 100% 'Georgia',Trebuchet,Arial,Verdana,Sans-serif;
line-height: 1.4em;
text-transform:noone;
letter-spacing:0em;
color:#999999;
}
.post {
border-bottom: 1px solid #CCCCCC;
}
.post a{
color: #666666;
text-decoration:none;
}
.post a:hover{
color: #666666;
text-decoration:none;
}
.post h1 {
padding:20px 0px 0px 5px;
font-size:20px;
font-weight:normal;
line-height:1.4em;
color:#000000;
}
.post h1 a, .post h1 a:visited, .post h1 strong {
display:block;
text-decoration:none;
color:#000000;
font-weight:normal;
}
.post h1 strong, .post h1 a:hover {
color:#8f8c97;
}
.post-body {
margin:1em 0 1em 0;
line-height:1.6em;
}
.post ul {
margin: 5px 0px 5px 20px;
padding: 0px 0px 0px 0px;
}
.post ol {
margin: 5px 0px 5px 20px;
padding: 0px 0px 0px 0px;
}
.post ol li {
margin: 5px 0px 5px 10px;
padding: 0px;
}
.post-body blockquote {
line-height:1.3em;
padding-left:32px;
padding-right:10px;
padding-top:5px;
font-size:18px;
font-family:Georgia, Serif;
font-style:italic;
color:#333;
}
.post-footer {
padding-top:10px;
margin:0;
color:#8f8c97;
text-transform:normal;
letter-spacing:0em;
font: italic 100% 'Georgia', Trebuchet, Arial, Verdana, Sans-serif;
line-height: 1.4em;
display: block;
}
.post-footer a{
color: #000;
text-decoration:none;
}
.post-footer a:hover{
color: #000;
text-decoration:underline;
}
.atas { border-top: 1px dashed #8f8c97;
color: #8f8c97;
display: block;
font: italic 100%/1.4em 'Georgia',Trebuchet,Arial,Verdana,Sans-serif;
letter-spacing: 0;
margin: 10px 0 0;
padding: 3px;
}
.atas a{
color: #382e2a;
text-decoration:none;
}
.atas a:hover{
color: #382e2a;
text-decoration:underline;
}
.comment-link {
float: right;
margin-left:.6em;
padding-left: 20px;
background: url(http://2.bp.blogspot.com/-u3jiNrwSNbw/Tg_NI-7myPI/AAAAAAAAA3A/ALpTb3CCdSw/s000/cm.gif) no-repeat;
margin-left:.6em;
}
.post img {
background:#fff;
padding:2px;
border:1px solid #cccccc;
}
.post blockquote {
margin:1em 5px;
}
.post blockquote p {
margin:.75em 0;
}
Can you be more specific about what you're attempting to change? The #sidebar-wrapper and #main-wrapper are separate sections, as is the #header-wrapper. To reposition any one of these all that is needed is to adjust the element in the appropriate direction (top, bottom, margin, padding, height). To add whitespace between the header and both elements, adding height to #header-wrapper does the trick. To move the side menu down, add margin-top to the #sidebar-wrapper (or padding-top).
You can increase padding-top of #content-wrapper in your CSS. This will make all content below the header image to go down in the layout.
You can add padding-top to #sidebar-wrapper in your CSS. This will make the right menu only to move down in the layout.