I have a DIV with a unique ID. It is positioned inside other DIV's
<div id="primary" >
<div id="content" >
<div id="my-div" >
.......... content ...........
</div></div></div>
No matter what I specify I can't get the content of 'my-div' to center. I have tried:
margin: 0 auto;
and
text-align: center;
and they are both ignored.
What am I doing wrong?
from HTML & Website Design http://ift.tt/294KbUf
via IFTTT
Next
« Prev Post
« Prev Post
Previous
Next Post »
Next Post »
Subscribe to:
Post Comments (Atom)
Out Of Topic Show Konversi KodeHide Konversi Kode Show EmoticonHide Emoticon