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 7892081
In Process

The Archive Base Latest Questions

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

I have updated my code and made a fiddle which explains what I am

  • 0

I have updated my code and made a fiddle which explains what I am trying to do. I had a similar question before but it did not reflect the fluidity of the template.

I have a totally fluid layout and I need to make a div display under another.

I want to do it with CSS and I’d prefer not to use javascript or jquery.

Here is the fiddle:
http://jsfiddle.net/sexywebteacher/7hCNC/20/

I was maybe unclear:
I am talking about the section1 and section2 divs in the fiddle

Do you think this can be done?

Thank you!

  • 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:46:49+00:00Added an answer on June 3, 2026 at 6:46 am

    If both the height of the image and the text are variable, it’s not particularly easy with pure CSS.

    The height being variable rules out anything based on position: absolute, as in the answers you received to your previous similar question.

    One option is to use the technique shown here: http://tanalin.com/en/articles/css-block-order/

    It is possible to change vertical order of blocks on HTML page using
    CSS table presentation using properties of display: table family.
    Regardles of block order in HTML code, header (table-header-group) of
    such table is displayed at the top of it, footer (display:
    table-footer-group
    )—at the bottom, and table body
    (table-row-group)—between header and footer.

    This works in all modern browsers, and IE8 if you’re careful. It does not work in IE6/7.

    Here’s your code using this technique: http://jsfiddle.net/thirtydot/7hCNC/35/

    I have to admit that I’ve never used this technique on a production website, so please test thoroughly.

    A different approach that will work in all browsers that support CSS3 2D transforms is to vertically flip the whole container, and then do the same to the “image” and the “text” elements. In browsers that do not support CSS3 transforms, everything will still work, but the “image” and “text” elements will be in their original order. In other words, it degrades nicely. It’s probably possible to make this work in IE6-8 using filter, but that would make the text look horrible, so forget about it.

    Here’s your code using this technique: http://jsfiddle.net/thirtydot/7hCNC/36/

    If none of these CSS methods are good enough, you’ll have to use JavaScript.

    However, I personally recommend that you just switch the order in the HTML. I doubt Google cares about it. In this case, I really doubt that bending over backwards to keep your HTML in the “optimum order” will have any meaningful SEO impact.

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

Sidebar

Related Questions

Okay I have updated my code a little, but I am still not exactly
I have updated code for ActiveX functionality which already installed on client(in their Windows
UPDATED I have made the changes to the C# code so it uses a
I have updated my code with the changes made. I am still getting incorrect
I have inherited some ASP.NET web code which I have made changes to. It
Okay I have updated my code quite a bit. I am getting a new
UPDATE I have updated my code in response to @MichaelRushton comments. I am now
I ran some CUDA code that updated an array of floats. I have a
I have this code to update users data, but I can't write the for
I have a pie chart which is made using UIBezierPath's. I now need those

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.