having issue with fluidgrid DW CS6 ,regarding responsive embedding
Hi,
so this is all the code I am using, at the bottom of each segment you can see the part I just made relating to responsive embedding, I named it videoWrapper and videoWrapper iframe:
uet if you go to this link https://onvermijdelijk.nl/TheThirdTemple.html we do not see any responsiveness. whereas on my local device we see responsiveness, but with an bug...namely that for mobile it jumps out of the screen.
all and all, I'm stuck. I hope someone here knows what to do.
@charset "utf-8";
/* Simple fluid media
Note: Fluid media requires that you remove the media's height and width attributes from the HTML
http://www.alistapart.com/articles/fluid-images/
*/
img, object, embed, video {
max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
width:100%;
}
/*
Dreamweaver Fluid Grid Properties
----------------------------------
dw-num-cols-mobile: 11;
dw-num-cols-tablet: 17;
dw-num-cols-desktop: 21;
dw-gutter-percentage: 25;
Inspiration from "Responsive Web Design" by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design
and Golden Grid System by Joni Korpi
http://goldengridsystem.com/
*/
/* Mobile Layout: 480px and below. */
.gridContainer {
margin-left: auto;
margin-right: auto;
width: 89.3454%;
padding-left: 0.8272%;
padding-right: 0.8272%;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#navigation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 14px;
color: #FFF;
padding-top: 5px;
padding-bottom: 18px;
}
#body {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 12px;
color: #FFF;
}
#footer {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
color: #FFF;
}
#Misc-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-title {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-omschrijving {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#Minister-image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#select-nation-flag-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#videoWrapper {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) {
.gridContainer {
width: 91.9058%;
padding-left: 0.547%;
padding-right: 0.547%;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#navigation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 18px;
color: #FFF;
padding-top: 5px;
padding-bottom: 18px;
}
#body {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 18px;
color: #FFF;
}
#footer {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 16px;
color: #FFF;
}
#Misc-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-title {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-omschrijving {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#Minister-image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#select-nation-flag-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#videoWrapper {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
/* Desktop Layout: 769px to a max of 1232px. Inherits styles from: Mobile Layout and Tablet Layout. */
@media only screen and (min-width: 769px) {
.gridContainer {
width: 89.1428%;
max-width: 1563px;
padding-left: 0.4285%;
padding-right: 0.4285%;
margin: auto;
}
#LayoutDiv1 {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#navigation {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
color: #FFF;
font-size: x-large;
padding-top: 7px;
padding-bottom: 22px;
}
#body {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 22px;
color: #FFF;
}
#footer {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
font-family: "Sitka Banner";
font-size: 22px;
color: #FFF;
}
#Misc-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-title {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#minister-omschrijving {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#Minister-image {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#select-nation-flag-nav {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
}
#videoWrapper {
clear: both;
float: left;
margin-left: 0;
width: 100%;
display: block;
position: relative;
padding-bottom: 56.25%;
height: 0px;
}
#videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
