html codes help: how do i make all website content to be centered on the page?
i'm making this page for a friend, i added a free template layout and it works well, but the whole content just sits to the left, and does not widen when you adjust the width of your browser.... which is actually fine because i understand that if i want the frames to widen with the browser it takes more work.... BUT i would like the content to stay centered, just like this yahoo answers pages, where the frames do not adjust to the browser width, they just stay centered.
is that hard, and how do i do that, what are the exact codes?
thanks
Public Comments
- Put <center> at the begin of the body and </center> at the end of the body.
- Learn css. That way you can just write the html and then style the page with css. <body><div align="center">Content</div></body>
- <body> <center> all the page stuff.... </center> </body> </html> This is very basic HTML. It works on a regular webpage but may not in some of these template sites. If it doesn't, come back and say where the page is hosted in case they have some special page programs.
Powered by Yahoo! Answers