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

  • Home
  • SEARCH
  • 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 79727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:11:28+00:00 2026-05-10T21:11:28+00:00

Setup I have a website that draws RSS feeds and displays them on the

  • 0

Setup

I have a website that draws RSS feeds and displays them on the page. Currently, I use percentages on the divs that contain each feed, so that multiples can appear next to each other.

However, I only have two next to each other, and if the window resizes, there can be some ugly empty space on the screen.

Desire

What I’d like to be able to do, but have not figured out a way yet, is to put all the feeds linearly into the page, and have:

  • a ‘pre-built’ multicolumn view where the feeds would ‘balance’ themselves into the columns

which leads me to:

  • the number of columns change depending on how wide the screen is currently\

This is akin to how word processing applications handle columnar layouts.

Question

I presume that I will need to implement some form of AJAXy happiness, but currently know very little about Javascript.

Is there a way to do this with just CSS/HTML/PHP?

If not, how should I go about solving this?

final solution:

(based on @warpr‘s and @joh6nn‘s answers)

#rss         {min-width: 10em;         max-width: 25em;         min-height: 15em;         max-height: 25em;         font-size: .97em;         float: left;         } 
  • 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. 2026-05-10T21:11:29+00:00Added an answer on May 10, 2026 at 9:11 pm

    You probably cannot get what you want with just CSS/HTML, but you can get somewhat close.

    A trick I used for a photo album is this:

    1. Make sure each feed has a fixed width, I would recommend something like ’20em’;
    2. Make sure each feed has the same height.
    3. Float everything left.

    Because each div has the same dimensions, when they’re floated left they will form a grid with exactly the number of columns that will fit in your browser.

    Unless you actually fix the height of the divs and use CSS to clip the content, you will need javascript for step 2, what I did was:

    1. Iterate over each feed div, finding the tallest div.
    2. Iterate over each div again, changing the height to match the div found in the first step.

    This is fairly easy to implement, but is obviously not optimal. I look forward to reading any better solutions posted here 🙂

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

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I think you'd be better off in this instance to… May 11, 2026 at 12:21 pm
  • added an answer apparently there is no built-in way to do it. try… May 11, 2026 at 12:21 pm
  • added an answer There's rather a lot of good literature on implementing malloc… May 11, 2026 at 12:21 pm

Related Questions

Basically I have a website. I have a properly setup sitemap so I assume
Setup I have a VBScript for driving the stress testing of a web service.
I have a website that I work on locally and is hosted with a
My problem is that I have a user that is having a problem displaying

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.