CSS Positioning help!
CSS Positioning help!
Out of context: Reply #4
- Started
- Last post
- 13 Responses
- sp0
First off, there is no div align="center".
In order to use multiple column layouts in strict DIV markup, you have to use the "float" css property.
An example would be:
col1 {
float:left;
width:200px;
}
col2 {
float:left;
width:200px;
}As far as centering a DIV layout, the correct implementation is:
container {
display:block;
margin:auto;
}