<body>
<div id="wrapper" style="margin:auto;width:100px">
<div id="inner" style="margin-left:10px;">
</div>
</div>
</body>
For the code above i am unable to set margin for the div “inner”.
I have a blog whose layout has a “date” box(40px wide) set 20px(left) outside the wrapper of the content.
Please help.
Would show you an example on JS fiddle, but its down at the moment.
That code should be working, maybe its because there is no inner content there at the moment.
You could always try
For the same outcome 🙂