[html5] wrapper or no wrapper

catsoul catsoul at thinkplan.org
Thu Mar 13 17:51:15 PDT 2014


On 3/4/14 5:46 PM, Brett Ryan wrote:
> I shall try and explain a simple example that describes a layout you 
> mention, and the advantages that I see.
>
> I have an example that illustrates the type of scenario you describe, 
> we have a header (<header>)  which contains three logical parts, our 
> logo, title and container for our links. I've used the container for 
> an important reason, that is we can not only move the container to 
> wherever we like, but those elements inside do not need their own 
> floats, which if they did, would not respond very well to moving these 
> elements.
Bryan;

how does one get that header arrangement to conform to margin: 0 auto; 
such that it always remains centered despite viewport width?

I tried using a container to do this but to no effect.


thank you!

cat



More information about the Help mailing list