Re: [css-d] How to prevent the content to be wider than the header?

2012-10-08 Thread Koen van der Drift
After thinking a bit more about this, what I probably need to use is a media query, that aligns the banner either to the left or in the center based on the screen size. - Koen On Sun, Oct 7, 2012 at 10:56 PM, Jay Tanna jta...@rocketmail.com wrote: I'm building a website using responsive

[css-d] How to prevent the content to be wider than the header?

2012-10-07 Thread Koen van der Drift
I'm building a website using responsive design and HTML5 and would like the content not to exceed the width of the banner in the header. The banner was provided by the client, and I am using the following code to implement it: background: url(../images/banner.png) left no-repeat; Now if

Re: [css-d] How to prevent the content to be wider than the header?

2012-10-07 Thread Jay Tanna
I'm building a website using responsive design and HTML5 and would like the content not to exceed the width of the banner in the header. The banner was provided by the client, and I am using the following code to implement it:     background: url(../images/banner.png) left