ThanQ all. Although this id still didn't know what exactly to do. i saw JohnRiv's comment and saw the article then i improved: * { margin: 0; padding: 0; }
HEADER and FOOTER are OK now,But the only problem is:
content in the targetText is Larger then page long,so it OVERFLOW and COVER the FOOTER, i didn't know how to make it scoll only in the right side when overflow,didn't destroy the layout!!
#header { background: whatever (image, transparent or any colors); background-position: top center; /* the important thing is the TOP while the CENTER is additional */ }
#footer { background: whatever (image, transparent or any colors); background-position: bottom center; /* again the important thing is the BOTTOM while the CENTER is additional */ }
I've tried it in my layout, it keeps the header and the footer in its place and when the content became longer, it didn't cover the footer *sorry if my english is not clear enough :)