How can I achieve a complicated CSS layout?
Posted
by Eric
on Stack Overflow
See other posts from Stack Overflow
or by Eric
Published on 2010-06-05T21:15:09Z
Indexed on
2010/06/05
21:22 UTC
Read the original article
Hit count: 108
I have a page here. There is a contents panel, and a content panel. I would like to center the content, and push the contents panel to the top right corner. This behaviour already works.
However, the layout does not work as I would like when the page is shrunk. Ideally, the content would be pushed to the right side of the screen, and a 5px
gap maintained between the content and the contents. At present, however, the contents just overlaps the content, which isn't really what I want.
Is such a layout possible, without resorting to javascript?
© Stack Overflow or respective owner