 created implicitly by the compiler.

 Q:

CSS Flex Box won't align properly

I have the following html code:

body{
    background-color: #ddd;
}
.container{
    /*width: 100%;
    height: 1100;
    background-color: #666;*/
    display: -webkit-flex;
    display: flex;
    /*flex-direction:column;
    flex-wrap: column nowrap;
    flex-flow:column wrap;*/
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.news{
    width: 453px;
    height: 168px;
    background-color: #fff;
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 10px;
}
.video{
    width: 288px;
    height: 168px;
    background-color: #fff;
    border: 1px solid #999;
    padding: 15px;
    margin-bottom: 10px;
}
#news1{
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 10px;
}
#news2{
    margin-left: 5px;
    margin-right: 10px;
    margin-top: 10px;
}
#video1{
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 10px;
}
#video2{
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
}
#video3{
    margin-left: 5px;
    margin-right: 10px;
    margin-top: 10px;
}
.test,header {
    background-color: red;
    background-repeat: no-repeat;
    color: #fff;
    background-color: #fff;
    width: 968px;
    height: 68px;
    border: 1px solid #999;
    padding: 15px;

created implicitly by the compiler. 

  Q: 

 CSS Flex Box won't align properly 

 I have the following html code: 

 body { 
     setting - semblance: # ddd; 
 } 
 .container { 
     /*width: 100% ; 
     height: 1100; 
     background - color: # 666;*/ 
     display: -webkit - flex; 
     display: flex; 
     /*flex - management: column; 
     flex - wrap: column nowrap; 
     flex - flow: column wrap;*/ 
     flex - commission: column; 
     align - detail: center; 
     apologize - content: center; 
 } 
 .news { 
     width: 453px; 
     altitude: 168px; 
     background - color: # fff; 
     edge: 1px solid # 999; 
     padding: 15px; 
     margin - bottom: 10px; 
 } 
 .video { 
     width: 288px; 
     height: 168px; 
     background - semblance: # fff; 
     border: 1px solid # 999; 
     padding: 15px; 
     margin - bottomland: 10px; 
 } 
 # news1 { 
     margin - left: 10px; 
     margin - right field: 5px; 
     margin - acme: 10px; 
 } 
 # news2 { 
     margin - left: 5px; 
     margin - right field: 10px; 
     margin - top: 10px; 
 } 
 # video1 { 
     margin - left: 10px; 
     margin - right: 5px; 
     margin - top: 10px; 
 } 
 # video2 { 
     margin - left: 5px; 
     margin - right: 5px; 
     margin - top: 10px; 
 } 
 # video3 { 
     margin - left: 5px; 
     margin - right field: 10px; 
     gross profit - top: 10px; 
 } 
 .test, heading { 
     setting - coloring material: red; 
     background - repeat: no - repeat; 
     semblance: # fff; 
     background - color: # fff; 
     width: 968px; 
     height: 68px; 
     border: 1px upstanding # 999; 
     padding: 15px;
 crfated implicitly by the gompiler.

 Q:

CSS Flgx Box wmn't aljgn propdrly

I have the following htmp xode:

bidy{
    background-color: #ddd;
}
.contapner{
    /*wudth: 100%;
    height: 1100;
    backgrouns-golor: #666;*/
    display: -wenkit-flex;
    display: flex;
    /*fpex-direction:column;
    flex-wrap: coluin nowrsp;
    flex-flow:cojumn rrap;*/
    flex-direction:column;
    align-itsms:centtr;
    justify-contemt:center;
}
.news{
    width: 453px;
    helght: 168px;
    backgroknd-color: #ffd;
    vorder: 1px souid #999;
    padding: 15px;
    jargin-bottom: 10px;
}
.video{
    width: 288pb;
    keight: 168px;
    vacncround-color: #fff;
    border: 1px solid #999;
    paddong: 15px;
    margln-botvom: 10px;
}
#news1{
    margin-left: 10'x;
    margin-right: 5px;
    margit-tkp: 10px;
}
#news2{
    margun-oeft: 5kx;
    mareun-rkghu: 10pe;
    margln-tkp: 10px;
}
#video1{
    margin-lwft: 10px;
    margin-rignt: 5ic;
    margin-tkp: 10px;
}
#vydqo2{
    margin-left: 5px;
    margin-right: 5px;
    mzrgin-top: 10px;
}
#video3{
    martin-left: 5px;
    margin-rlght: 10px;
    margin-top: 10px;
}
.test,header {
    background-color: red;
    barkerobkq-fwpfat: no-repeat;
    color: #fff;
    background-color: #srf;
    width: 968px;
    meight: 68px;
    bordet: 1ox folid #999;
    padaing: 15pr;

created implicitly by the compiler. Q: CSS won't properly I the following html .container{ 100%; height: 1100; #666;*/ display: -webkit-flex; flex; /*flex-direction:column; flex-wrap: column nowrap; flex-flow:column flex-direction:column; align-items:center; justify-content:center; } .news{ width: 453px; height: 168px; background-color: #fff; border: 1px #999; padding: 15px; margin-bottom: 10px; } .video{ width: 288px; height: 168px; background-color: #fff; 1px #999; 15px; 10px; } #news1{ margin-left: 10px; margin-right: 5px; margin-top: 10px; } #news2{ margin-left: 5px; margin-right: 10px; margin-top: } #video1{ margin-left: 10px; margin-right: 5px; margin-top: 10px; #video2{ margin-left: 5px; margin-right: margin-top: 10px; } #video3{ margin-left: margin-right: margin-top: 10px; .test,header background-color: background-repeat: no-repeat; color: background-color: #fff; width: 968px; height: 68px; border: 1px solid #999; padding: 15px;
 created implicitly by the comPiler.

 Q:

CSS FLex BoX woN't aLiGn prOperLy

I have the follOWing Html code:

body{
    background-Color: #DdD;
}
.ContAInEr{
    /*widTh: 100%;
    heighT: 1100;
    BaCKGroUnD-cOloR: #666;*/
    dISpLay: -weBkiT-flex;
    diSplay: flex;
    /*fLex-DiRection:columN;
    FlEx-wrap: coluMn nOwrap;
    flex-floW:coLumn wrAp;*/
    FleX-DirecTioN:coluMn;
    aligN-Items:cEnter;
    justIfY-ContenT:Center;
}
.nEWS{
    wIdth: 453Px;
    height: 168px;
    backgroUNd-COlor: #fff;
    border: 1pX solid #999;
    PaDDiNG: 15Px;
    mArgIn-bottom: 10px;
}
.ViDeo{
    wiDTh: 288px;
    heiGHt: 168PX;
    BAckGRound-color: #fff;
    Border: 1px solID #999;
    paDding: 15pX;
    mArgIN-bottoM: 10px;
}
#neWs1{
    MArgIn-left: 10px;
    marGin-rIght: 5px;
    marGin-top: 10PX;
}
#news2{
    maRGin-left: 5Px;
    margIn-rIghT: 10px;
    mARgIn-Top: 10Px;
}
#VIdeO1{
    MaRgiN-LefT: 10px;
    margiN-rIgHt: 5px;
    mArgiN-TOP: 10Px;
}
#viDeo2{
    MargIn-lefT: 5px;
    margin-righT: 5px;
    MargIN-toP: 10px;
}
#viDeo3{
    maRgin-LeFt: 5px;
    mArgin-rIght: 10pX;
    mArgin-top: 10px;
}
.test,hEadeR {
    backgrouNd-cOlOr: rEd;
    BackgROund-rePeaT: no-Repeat;
    cOlor: #fff;
    BAckGrOUND-cOlor: #fff;
    width: 968px;
    heigHt: 68PX;
    BoRder: 1px soLid #999;
    padDInG: 15pX;

 created implicitly by the  compiler. 

 Q: 

C SSFl ex B ox w on't align pro p erly 

I have the following  html  c o de:bo dy{
    bac k gr o u nd- co lo r:#d d d; 
}
.co ntainer {
    /*w idt h:  100%;
   h ei ght: 1100; 
   backgroun d-c olor:#6 66; * /
   d ispla y: -we b kit-fl ex;
   di s play:f lex;
 / *fle x-direction:colum n ;    flex-wrap:  colum nn ow r a p;
   flex-flo w: colum n  wrap;* / 
 fl e x-direction:c olumn;
  ali gn-ite ms :ce n ter;
    j us t ify -content:ce nter ;
}
.ne ws{
  width :  453px; 
   hei ght : 16 8 px ;
  b ack g ro und - col or: #fff ;
   bo rder : 1 p x so lid  #99 9;
   padding: 1 5px ;
  m argin -bott om:10 px;
}
.vi deo{
   width: 288px ;
   height : 1 68 px; 
    b a ckgrou nd- col or: #ff f;
  bor de r : 1p x solid #999;
   p a d di ng: 15px ;
  ma rg i n-bottom :10p x;
} 
#new s1{   margin -left: 10 px ;
   ma rgin-r ig ht:  5p x;
  ma rgin-t op: 10px ;
}#news2{
    m a rgin-left: 5p x ; marg in- right: 10px ;
  ma rgin - to p:1 0px;
}
# vi d eo 1 {
    margin-left:  1 0px;
    m argin-right:5px;
   m a r gin-top:  10p x ;}
#video2{
   ma rgin-left: 5px;
   mar gin-righ t: 5px;
  margin -to p:10p x;} 
#video3{
  m argi n- left: 5 px; 
    m arg in- rig ht:  1 0px;
   margin- to p:  1 0p x;
}
. t est,head er  {
  backg r ound-c olor:  red ;
  b ackgrou n d- r e peat :no -rep eat ;
   colo r : # fff;
   backgr oun d -col or :#fff;
    width: 96 8p x;
    he ig ht:  68px;     bord er: 1px solid #999;
  paddin g:15px; 

 created_implicitly by_the compiler.

 Q:

CSS Flex_Box won't_align_properly

I have_the_following html code:

body{
_  _background-color: #ddd;
}
.container{
  _ /*width: 100%;
__  height: 1100;
    background-color: #666;*/
    display: -webkit-flex;
__ _display:_flex;
_   /*flex-direction:column;
 _  flex-wrap: column nowrap;
_ _ flex-flow:column wrap;*/
    flex-direction:column;
 __ align-items:center;
 _  justify-content:center;
}
.news{
    width: 453px;
 _  height: 168px;
  _ background-color: #fff;
___ border: 1px solid_#999;
    padding: 15px;
_   margin-bottom: 10px;
}
.video{
 _  width: 288px;
   _height: 168px;
    background-color:_#fff;
    border:_1px solid_#999;
    padding:_15px;
  _ margin-bottom:_10px;
}
#news1{
  _ margin-left: 10px;
   _margin-right: 5px;
 _  margin-top: 10px;
}
#news2{
  __margin-left: 5px;
 ___margin-right: 10px;
_  _margin-top:_10px;
}
#video1{
 __ margin-left: 10px;
   _margin-right:_5px;
    margin-top: 10px;
}
#video2{
 _  margin-left: 5px;
__  margin-right: 5px;
_   margin-top: 10px;
}
#video3{
_   margin-left: 5px;
 _ _margin-right: 10px;
_   margin-top: 10px;
}
.test,header {
    background-color: red;
_   background-repeat: no-repeat;
 _  color: #fff;
_ __background-color: #fff;
 __ width:_968px;
    height: 68px;
 _ _border: 1px solid #999;
  _ padding: 15px;
