Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7892857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:58:21+00:00 2026-06-03T06:58:21+00:00

Is there a common CSS layout technique for controlling the vertical source order of

  • 0

Is there a common CSS layout technique for controlling the vertical source order of a page?

For example, can I change this…

<container>
    <header></header>
    <content></content>
    <footer></footer>
</container>

…to this…

<container>
    <content></content>
    <header></header>
    <footer></footer>
</container>

…while still having the <header> appear at the top of the page, above the <content>?

In other words, I’d like to apply the techniques used for controlling horizontal source order, such as “One True Layout” and “Holy Grail“, to the vertical source order of the page.

This question asks essentially the same thing, but the responders didn’t seem to get what was being asked and the asker’s solution seems cumbersome.

I might get criticism for micro-optimizing, but Mega Menus and responsive design keep pushing my page content down further and further.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:58:23+00:00Added an answer on June 3, 2026 at 6:58 am

    You cannot alter the source of a page with CSS. You can, to some mild degree, alter the HTML output, but not in this way.

    The order of elements in an HTML document has meaning. So typically it won’t make sense for your source to have a heading which comes after its related content. It is the order which defines that relationship in many cases.

    What you can do is use CSS techniques to lay out these elements visually so that they appear to be in different order.

    But their vertical order in HTML should be semantically logical.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

See section /* Common Classes */ of this page. http://webdesign.about.com/od/css/a/master_stylesht_2.htm are these css classes
how can change the style (css) of the Wicket extension Wizard (org.apache.wicket.extensions.wizard)? Is there
Is there a common way of counting source lines of code (SLOC) in a
There is a common feature of modern browsers where a user can select some
Is there a way how can I change the twistie icon in view control?
Can anyone out there recommend a good online resource for CSS 'design patterns'? I
Is there a common standard for reporting errors in your class functions? I've seen
Is there a common interface in Python that I could derive from to modify
Is there a common method/api to list all web browsers (name, executable, default yes/no)
Evening, Is there a common or standardised name given to a function or method

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.