Re: [css-d] Left sidebar aligned with a centered block

2013-04-30 Thread Zaia Z
! Thanks for the advice! Zaia On 19 April 2013 04:18, David Laakso laakso.davi...@gmail.com wrote: On Thu, Apr 18, 2013 at 9:21 AM, Zaia Z zigaew...@gmail.com wrote: How should I arrange the CSS for the sidebar such that it always maintains a consistent gap to the left of the centered

[css-d] Left sidebar aligned with a centered block

2013-04-18 Thread Zaia Z
Hi all, I have a question about positioning elements on a webpage. I have a central block of content in the middle of the page: .main { border:1px solid #000; clear: both; margin:15px auto; width: 800px; } I'm also positioning a sidebar to the left of this centered block: .sidebar {