Results 1 to 9 of 9
Dec 7, 2007, 09:45 #1
- Join Date
- Apr 2005
- 0 Post(s)
- 0 Thread(s)
Side by side content, not list items
Just checking, is the best practice for displaying side by side elements that aren't list items to create a container div, and then divs within the container?
Each div within the container would have a width and float declared. For example, on a horizontal div, I want two different text content to display, one text content box to the left and the other text content box to the right.
I didn't really want to create divs inside the container element, but when I used the < p > element, they displayed as block, and the second < p > dropped to a second line.