Code:#container {
width: [designwidth]px;
margin: auto;
border-left: 2px solid #fff;
border-right: 2px solid #fff;
}
Printable View
Code:#container {
width: [designwidth]px;
margin: auto;
border-left: 2px solid #fff;
border-right: 2px solid #fff;
}
Cause he probably wouldn't want top and bottom borders. Thank **** there are some people (Ryan and Tom) that could actually work that out.
<center this f'in image now><border="100000000000"></center gone>
Add a border to something:
Centering:Code:#id {border: 1px solid #ffffff} /* Adds a 1px SOLID aka a line black border */
Another way to centeringCode:body {text-align:center}
#thingtocenter {margin:auto} /* Works out it has to be centered as body text align is center hence is figures out the margins :) */
float left and margin-left: - 50% of width
So for example our box is:
Code:#box {float:left;width:500px;margin-left:-250px}
I've used redtom's way. Thanks for everyone who helped!