The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Two column beginner question
To start, my knowledge of css and html is minimal. My question: why is the second div not on the same line as the first one? Am I missing something obvious? After transferring it to CodePen the two divs work fine.
So why would Dreamweaver CS6 not show the same thing and is there a better technique to center two divs?
Dreamweaver’s built in rendering is stock webkit and is not the best. That’s why it’s **always** preferable to test in as many real browsers as you can.
Folks….please don’t start another “DW is rubbish comment fight again…we’ve had enough of those.
Let’s just help the OP out and provide practical comment specific to his request.
On looking at the Codepen, it’s looks fine to me.
I’m not sure why you mention centering but floats or inline-block layout works fine here.