471,119 Members | 1,499 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

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
Jul 20 '05 #1
0 1696

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chris | last post: by
2 posts views Thread by Pamel | last post: by
2 posts views Thread by David Winter | last post: by
15 posts views Thread by red | last post: by
10 posts views Thread by Philipp E. Imhof | last post: by
18 posts views Thread by maya | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.