Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Two column beginner question

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44162
    ohpayk
    Participant

    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.

    http://codepen.io/anon/pen/CFsbl

    So why would Dreamweaver CS6 not show the same thing and is there a better technique to center two divs?

    #132048
    Paulie_D
    Member

    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.

    [MOD COMMENT]

    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.

    #132049
    Paulie_D
    Member

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.