What are the advantages/disadvantages to using two 'float:left's side-by-side, rather than a float:left/float:right side-by-side combination, if any?
e.g.
<div id="element1"></div>
<div id="element2"></div>
-------------------------
#element1 {
float:left;
}
#element2 {
float:left;
}well, I guess if you wanted them to sit right up next to each other it makes sense to have them both have the same float. But, if you want something in between them you could float one to left and one to right. This could be in the case of a 3 column layout.
e.g.
<div id="element1"></div>
<div id="element2"></div>
-------------------------
#element1 {
float:left;
}
#element2 {
float:left;
}well, I guess if you wanted them to sit right up next to each other it makes sense to have them both have the same float. But, if you want something in between them you could float one to left and one to right. This could be in the case of a 3 column layout.