+ 1
how to make a webpage with left and right padding in the center??
11 Antworten
+ 1
Margin:auto
0
without padding.
display: block;
margin: 0 auto:
0
i dont understand can u plz explain
0
how?
0
try with html file. you will see.
0
I probably do not understood your question...but...if you want to center a div you must set
margin: 0px auto;
in the CSS
0
scotti did I say something else ?
0
how to text-align on parent box ?
0
i want my webpage in center with left and right free space.
0
depends where you want to position the content. explain more of what you want. the q is too ambiguous.
0
why display:block; goes here?