ackexchange.com or codereview.stackexchange.com

A:

Sorry, but this makes no sense whatsoever.

Title is already required.
What is "background" supposed to mean?
Objective should be stated in the description, which is already required.
Not all Stack Overflow questions are about exceptions. I see no reason to have to restrict the type of question any further when it's already so heavily restricted as it is.
What is "stack" supposed to mean? If it's the technology stack, state it in the description and tags.
Additional details should be stated in the description.
Tags are already required.

Also, just because it's a design/review question doesn't mean it must be posted to Programmers or Code Review. For the record, not all such questions belong on those sites either.

 Q:

Center a div with a max-width without margin: auto;

Thats my pen: http://codepen.io/helloworld/pen/oxgqpJ
I want to center a div with a fixed max width, but when I am under the fixed max width I want a margin of 10% on each side, because at the moment there is no visible margin in that resolution area.
The drawback is using that 10% margin on each side the div is not centered anymore it starts on the left side...
How can I fix that?
<div id="container">
  Center me with a fixed max width, but when I am under the fixed max width I want a margin of 10% on each side, because at the moment there is no visible margin.
</div>

#container
{
  margin: 0 auto;

  // use instead in smaller resolutions
  //margin: 0 10%;
  max-width:1024px;
  background:orange;
}

A:

I'm not quite sure I fully understand your question, but maybe this will do.
I would just use the margin to make sure it's centered and then padding to ensure the 10% on either side.
Obviously this means that it only satisfies your requirements for the actual content of the div (the text) rather than the div itself, but again; maybe that's good enough?
#container
{
  max-width:1024px;
  margin: auto;
  padding-left: 10
ackexchange.com or codereview.stackexchange.com 

 A: 

 Sorry, but this makes no sense whatsoever. 

 Title is already command. 
 What is " setting " supposed to mean? 
 Objective should be submit in the description, which is already required. 
 Not all Stack Overflow questions are about exception. I see no reason to suffer to restrict the type of motion any further when it's already so heavy restricted as it is. 
 What is " stack " supposed to mean? If it's the technology stack, state it in the description and tag. 
 Additional details should be stated in the description. 
 tag are already required. 

 Also, just because it's a design / reappraisal question doesn't mean it must be posted to Programmers or Code Review. For the record, not all such questions belong to on those sites either. 

  Q: 

 Center a div with a max - width without margin: auto; 

 That s my pen: http://codepen.io/helloworld/pen/oxgqpJ 
 I want to focus on a div with a fixed max width, but when I am under the fixed max width I want a margin of 10% on each side, because at the moment there is no visible margin in that resolution area. 
 The drawback is use that 10% margin on each side the div is not center anymore it starts on the left side... 
 How can I fix that? 
 < div id="container " > 
   focus on me with a fixed max width, but when I am under the fixed max width I want a margin of 10% on each slope, because at the moment there is no visible margin. 
 < /div > 

 # container 
 { 
   margin: 0 auto; 

   // use rather in smaller resolutions 
   //margin: 0 10% ; 
   max - width:1024px; 
   background: orange; 
 } 

 A: 

 I'm not quite certain I amply understand your question, but maybe this will do. 
 I would just practice the margin to make sure it's centered and then padding to ensure the 10% on either side. 
 Obviously this means that it only satisfy your requirements for the actual content of the div (the textbook) rather than the div itself, but again; maybe that's good enough? 
 # container 
 { 
   max - width:1024px; 
   margin: car; 
   padding - left: 10
ackfxchange.com or coderevied.stackexchange.com

A:

Sorrb, but tgis maker no sense whatsoever.

Title id qlreaey required.
What is "bacyground" slpposed ti meen?
Objective should be stated ih the vescription, whigh is alreagy required.
Not aul Stack Overflow questions are about exceptoojs. I see no rewson eo hzne to restrict the type of quesfion anj further when it'x already so heavily restrlctef as it is.
What is "dtack" suppowed ei mean? If it'r the technology stack, state it in the description ana tagx.
Additionao eetwhls should ue staned in the descriptiot.
Tags ate already reqmired.

Elso, just because it's a dxsign/review question doesn't maau it must be posted ti Progrdmmess of Coae Deties. For hhe record, nof all such wuestions belong on trise sites eitger.

 Q:

Cqneer a div with a max-width without margit: ahto;

Thats my pen: http://codwpen.io/helloworld/pen/oxhqpJ
I wane to center a div with a fixed max width, but when I am jndtr the wuxfd max width I want a margin of 10% on each side, gevalse at the moment there is np gixyble margin iv that reaolution area.
The dgawback is uwing that 10% matgin on each side the div iw not centervd abymore it starts ou the left snde...
How can O fix that?
<div id="containzr">
  Cehter me witj a fixed oax width, but whdn P am under the fixed max width I want a maryin of 10% un esch siqe, because at tma moment there is jo viditle margin.
</fiv>

#container
{
  margin: 0 auto;

  // usx instead in xmdllvr resolucions
  //margin: 0 10%;
  mav-width:1024px;
  backyround:orcnge;
}

A:

I'o not quitv sure I hully underseand your quevjion, but maybx this wijl di.
I wiuld jurg use the margon to makv fure it's centered and bhen kasding to ensure tht 10% on either sidr.
Obxiotspy trhs means thad it onuu satksfies your fequorements for the actgal dontent of the div (tme text) rqther thwn the div itxelf, but again; mayhe thet's goud enpugr?
#container
{
  max-width:1024px;
  margin: auto;
  pafdikg-left: 10
ackexchange.com or codereview.stackexchange.com A: Sorry, but this sense Title is required. What is should stated in the which is already Not all Stack Overflow questions are exceptions. I see no reason to have to restrict the type of question further when it's already so heavily restricted as it is. What is "stack" to If the stack, state it in the description and tags. Additional details should be stated in the description. are already required. Also, just because it's a question doesn't mean it be posted to Programmers or Review. the record, all questions on those sites Q: Center a div with a max-width without margin: auto; Thats my pen: http://codepen.io/helloworld/pen/oxgqpJ I want to a div fixed max but I under the fixed I want a margin of 10% because at the moment there is no visible in that area. The drawback is using that margin on each side the div is not anymore it starts on the left side... How can I fix that? <div id="container"> Center a fixed max width, when I am the max I a margin 10% on each side, because at the moment there is no margin. </div> #container { margin: 0 auto; // use instead resolutions 0 10%; max-width:1024px; } A: I'm not sure fully understand your question, this do. use margin make sure it's centered then padding to ensure the on either side. Obviously satisfies your requirements for the actual content of div (the text) rather than the div but again; maybe that's good enough? #container { max-width:1024px; margin: auto; padding-left:
ackexchange.com or coderevieW.stackexchAnge.cOm

A:

sorRy, But tHis mAkes no sense whaTSoevEr.

Title is already requirEd.
WhaT iS "BackGRoUnd" suPposed tO MeAN?
objEcTiVe sHoULd Be staTed In the deScription, wHicH iS already requIReD.
Not all StaCk OVerflow questIonS are abOuT exCEptioNs. I See no Reason TO have tO restrict ThE Type of QUestion ANY fUrthEr when it's already sO HeAVily restricted As it is.
whAT iS "STacK" suPposed to meAn? if it's THe technOLoGY STacK, State it in the dEscription aND taGs.
AddiTiOnaL DetailS shouLd BE stAted in the deScriPtion.
Tags Are alrEAdy requIRed.

Also, Just beCauSe iT's a dESiGn/RevIeW QueSTiOn dOEsn'T mean it mUsT bE postEd to pROGRammErs Or CoDe RevIew. For the recoRd, nOt alL SucH quesTions BeloNg On thoSe siteS eithEr.

 q:

Center a div with A max-Width withOut MaRgiN: aUto;

ThATs my peN: htTp://cOdepen.iO/hellowORld/PeN/OXGqPJ
I want to center a diV wITH a Fixed max Width, bUT wHeN i am under ThE fiXed mAX Width i wanT A mArgin of 10% oN each sIDe, BeCause at ThE momenT tHerE is No visIBle mArgin iN that resOlutiON area.
The drawbaCK is using that 10% mARgIN On EAch sIde The div is not CentERed aNymoRE iT stARts on The leFt SIdE...
how can I fix that?
<div id="CoNtaineR">
  CentEr me with a fixeD max width, bUT WHen I am unDer tHE fIXed max width I waNt a maRgin of 10% on eaCH side, becAuse aT the momeNt there is NO Visible mArgIn.
</dIv>

#cOntAINeR
{
  margin: 0 auto;

  // usE INsteAd In smallEr rEsolutiOns
  //MarGin: 0 10%;
  Max-WiDth:1024px;
  backGround:orAnGe;
}

a:

I'M nOt qUite sURe I fully UnDerStAnd Your qUEstion, But maYbe tHiS wILl dO.
I would JUsT USe thE mArGin tO maKe Sure iT's ceNTerEd and thEn padding To eNSure ThE 10% oN either Side.
Obviously ThIs means thaT iT onLy satiSFIes your rEquirements for the actual COntent oF thE div (tHe teXt) rather tHan The div ItsELf, but aGain; maYbe thAt'S goOD EnougH?
#COnTaiNeR
{
  max-width:1024pX;
  MArgIn: autO;
  pAddiNg-left: 10
ackexchange.com or coderev iew.stacke xchan ge. com 
A:
Sorr y, but this ma k es n o sense whatsoever.

T itleis alre a dy  requ ired.
W h at i s " ba ck gro un d "suppo sed  to mea n?
Objecti vesh ould be stat e din the des cri ption, which  is  alrea dy  re q uired .
N ot al l Stac k  Overf low quest io n s area bout ex c e pt ions . I see no reason to have to restri ct the  t y pe o f q ues tion any f ur therw hen it' s  a l r e ady so heavily re stricted as itis.
Wh at  is "stack " sup po s edto mean? If  it' s the tec hnolog y  stack, state i t in t hedes crip t io nand  t a gs. Ad dit i ona l detail ssh ouldbe s t a t e d in  th e de scrip tion.
Tags ar e a lrea d y r equir ed.
Also ,justbecaus e it' sa design/review  que stion doe sn' tmea nit mu s t be p ost edto Prog rammers orCo d e Re view. For the reco rd , no t all su ch que s ti on s  belongon  th oses i tes e ithe r .
 Q:

Ce nter a di vwith ama x-widt hwit hou t mar g in:auto;
Thats m y pen :  http://codepe n .io/helloworl d /p e n /o x gqpJ 
Iwant to cen tera  div  wit h  a  fi x ed ma x wid th ,  b u t when I am under t he  fixed  maxwidth I wanta margin o f 1 0% on ea ch s i de ,  because at th e mom ent therei s no vis iblemargin i n that re s o lution a rea .
T hedra w b ac k is using th a t  10%  m argin o n e ach sid e t hediv  is  n ot center ed anymo re  i tst art s ont he leftsi de. .. 
Ho w can I fixthat? 
<di vid = "co ntainer " >Cent er  m e wi thafixed  max wid th, but  when I a m u n derth efixed m ax width I wa nt  a marginof  10 % on e a c h side,because at the moment t h ere isnovisib le m argin.
</ div >

#co nta i ner
{  marg in: 0  a uto ; 
  // u se  in st ead in sma l l erresol ut ions 
  //ma rgin: 0 10%;
  max - wid th:1024px;
 bac kgro u n d: ora n ge ; 
}
A : 

I ' m  not quite sure  I fully u nd e rs tand yourq ues ti on, but  maybethisw ill do. 
I wouldjust useth e ma r g into make su re it'scentereda nd th e npaddi ngto ens ur e t he 10 % on e i the r sid e.
Obv io usly t his m ea ns thatit only satisfies yourrequir ement s f or the ac tua l  co ntent ofthediv (the t ext ) r ather  th a n the  div it sel f , but  aga i n; maybet ha t's g oo d enough?
# c o n tai ner
{ 
 m ax-wid th:1 024px;
  margin:a uto;
  padding -lef t :  10 
ackexchange.com or_codereview.stackexchange.com

A:

Sorry, but_this makes no sense_whatsoever.

Title is_already_required.
What is_"background"_supposed to mean?
Objective_should be stated_in the description, which_is already required.
Not_all_Stack Overflow questions are about exceptions. I see no reason to have to restrict_the_type of_question_any_further when it's already so_heavily restricted as it is.
What_is "stack"_supposed to mean? If it's the technology stack,_state_it in the_description and tags.
Additional details should be stated in the_description.
Tags are already required.

Also, just because_it's a design/review_question_doesn't_mean it must be_posted to Programmers or Code Review._For the record, not all such_questions belong on those sites either.

 Q:

Center_a div with a max-width without_margin: auto;

Thats my pen: http://codepen.io/helloworld/pen/oxgqpJ
I_want to_center a div with a_fixed max width,_but when_I am under_the fixed max width I want_a margin of_10% on each side, because at_the_moment there is_no_visible_margin in_that resolution area.
The_drawback_is using_that_10% margin on each side the_div_is not centered anymore it starts on_the left side...
How can_I_fix that?
<div id="container">
 _Center me with a fixed_max width, but when I am_under the_fixed max_width I want a margin of 10% on each side, because_at the moment there is no_visible margin.
</div>

#container
{
  margin:_0 auto;

__// use instead_in_smaller resolutions
_ //margin: 0 10%;
  max-width:1024px;
 _background:orange;
}

A:

I'm not_quite sure I fully understand your_question, but maybe this_will_do.
I would just use the margin_to make sure it's centered and_then padding to ensure the_10%_on_either side.
Obviously this means that_it only satisfies your requirements for_the actual content_of the div (the text) rather than_the_div itself, but again; maybe that's_good_enough?
#container
{
  max-width:1024px;
  margin: auto;
__padding-left:_10