2 column divs wrapped in a centered div

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sue  Thackston

    2 column divs wrapped in a centered div

    My first layout. I've got 2 divs, side by side, wrapped in a centered
    div with a border. I don't want to use a float to get the
    aforementioned divs to work side by side, so to get this to work, I
    used a negative margin on the second div that was wrapped. Tried
    absolute positioning, but that appropriately separates the second div
    from the normal flow so the wrapper div doesn't keyline properly around
    it. Is this the proper way to do this or is there a better way?

    Thanks folks.

    Craig
Working...