Okay, so, I've been more or less driving myself up the wall trying to get my body, header and footer centered in the middle of the browser. I have read numerous tutorials on this subject, and none of their methods are working for me. I am using IE8 and typing up my html and css files in notepad. Methods I have read about (and attempted) include:
centering your page in css
5
Okay, so, I've been more or less driving myself up the wall trying to get my body, header and footer centered in the middle of the browser. I have read numerous tutorials on this subject, and none of their methods are working for me. I am using IE8 and typing up my html and css files in notepad.
Methods I have read about (and attempted) include:
1. Setting margin for the div to "auto" or "0 auto" in the css document
2. Setting margin-left and margin-right to "auto" or "0 auto" in the css document
3. <div align="center"> in the html document. if I do <div align="center"> for the container, it centers the header, body and footer, but i can't center individual pieces by using this method.
Note: I'm very new to CSS and only know how to use divs that start with #
Methods I have read about (and attempted) include:
1. Setting margin for the div to "auto" or "0 auto" in the css document
2. Setting margin-left and margin-right to "auto" or "0 auto" in the css document
3. <div align="center"> in the html document. if I do <div align="center"> for the container, it centers the header, body and footer, but i can't center individual pieces by using this method.
Note: I'm very new to CSS and only know how to use divs that start with #
- xtrapunch
- [1] reply
- izorgor
- Rankx
- [1] reply
- SteveJohnson
- [ 1 ] Thanks
Next Topics on Trending Feed
-
5