memphis_1220
Limp Gawd
- Joined
- Aug 28, 2004
- Messages
- 499
As per the title, is there a way to position multiple div's side by side without the use of absolute positioning or using the float property?
The reason for this is so that they can eventually be centered on an unknown page width using a containing div. "float:left" effectively takes them out of the parent div, and absolute positioning would not be possible in this case.
I have tried "float:left" with relative positioning but the second, third,... div's become relative to other elements that are already in the containing div. And the result of this causes the inner divs to form what I can only describe as a set of stairs.
Any tips or solutions would be appreciated.
The reason for this is so that they can eventually be centered on an unknown page width using a containing div. "float:left" effectively takes them out of the parent div, and absolute positioning would not be possible in this case.
I have tried "float:left" with relative positioning but the second, third,... div's become relative to other elements that are already in the containing div. And the result of this causes the inner divs to form what I can only describe as a set of stairs.
Any tips or solutions would be appreciated.