html - semantic markup for stretchable header and footer -


Actually I want something like github headers and footers, different color from headers and footer body and Both go for forever

My center (main) lamp is fixed width, so that means I need a container divis.

I have something like this:

I would like to align headers, footers and containers, but if the container was only a fixed width, then it would be aligned without aligning it Is hard for

The background and main body for the headline I thought was different, but the footer looks different, but it looks like a dirty hack and it seems like it does not make sense.

Is this structure adequate semantic?

  Container header main-content footer   

Or I should be living with my original plan

  Container header main Content Footer   

Edit I think the StackHowarflow actually uses the Gitb style where the headers with fodder are separated from the container. And main content. Is this the normal way to do this layout? (Please provide some articles / links that support it)

You do not need a container for this It's not right after that. HTML and body elements make enough containers in most of the time.

100% wide for your header and footer, and center your main content with fixed-width auto-horizontal margins.

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -