i just read a couple of threads regarding css positioning and i have found something some where a while ago. however, i couldn't find any good explanation of it. would anyone please explain a bit of some of these code? thanks
1. clear:both?
2. margin: 0; padding: 0 // when it is just margin without left or right, how does it work? is padding here just like the table padding?
3. margin-left: auto; margin-right: auto; padding: 0 // why would setting margin-left and margin-right both auto make the whole thing center?
if someone would explain more about how margin work it would be great. i never had any good explanation about css positioning.
thanks thanks
.cenx{text-align: center}
.ceni{clear:both}
.bxfix{margin:0; border:none; padding: 0;}
.cenx{text-align: center}
.ceni{clear: both}
.bxcen{margin-left: auto; margin-right: auto; border: none; padding:0}