How to make the background colour in a CSSed column stretch all the way down: use an image. Sigh. I thought the point of CSS was not having to use hacks and single-pixel gifs and all that nonsense. Though perhaps this is better.


Discover more from Jill Walker Rettberg

Subscribe to get the latest posts sent to your email.

7 thoughts on “column all the way down

  1. Eivind

    This is probably the most annoying problem about CSS, and I often end up with wrapping the whole thing in a table, which is just terrible.

    I wonder if CSS3 has anything in stock for fixing this problem..

  2. Anders

    The solution depends on the design you want. If you have two elements, a tall and a short, make the desired background colour for the short element the background colour for the whole page, and then set the background colour for the tall element specifically.

    If you haven’t changed your mockup, I guess you are thinking about the blue at the bottom of the image. Make the page background blue and put the blog text in a that has a white background. I am pretty sure the blog part will always be as tall as the whole page, even if it isn’t in your mockup.

    Anyway, I try to follow Jeff Veen’s HotWired principle: know your code, and make the limitations a design feature. Why do you need the column to have a single colour all the way? Isn’t there another way of getting the same effect? Check out this redesign suggestion for Jakob Nielsen’s site.

  3. Nina Terese

    Is this what you are trying to do? http://www.moronicbajebus.com/playground/cssplay/twocolumns/

  4. Jill

    Yes! This is more or it! And the solution is more or less the same as the other solutions I’ve seen, too – you seem to need that background image…

  5. Jason

    I actually ended up having to do a dual-color bg image (light gray and dark gray) while setting the bgcolor of the main content area to white. Yeah, it was tricky, and a pain (but I’m pretty sure it’s valid).

    You can see what I mean if you look at my search result page, which I never really cleaned up:

    http://www.wordherders.net/cgi-bin/mt/mt-search.cgi?IncludeBlogs=2&search=new+design

    The third row of color (not green, not darkest gray, but the dual gray band) is actually my background image, which allows me to do the tri-color effect all the way down my main page.

  6. Jill

    Which reminds me, anyone know if there’s actually any way of making a template for the search results page in MT? My search pages seem to just choose a random style sheet from any of the blogs running on that installment, which isn’t terribly convenient.

  7. matt

    Far be it from me (whose cookie-cutter blog cuts no design ice) to carp, but on some little screens I think your infinitely long T-shirt is too costly, width-wise. Especially as one scroooolls down.

Leave A Comment

Recommended Posts

Don’t do a systematic review if you’re in the humanities

This paper is a great example of why you probably shouldn’t use a systematic literature review for a theoretical and conceptual research question like “How does artificial intelligence affect the perception of authenticity and aura in art?” However, if you’re looking for an annotated list of 48 recent articles about […]

Screenshot of a paragraph from a New York Times article published May 12, 2026. Text reads: "The price of tomatoes -tart bursts of flavor in salads and sandwiches — surged nearly 40 percent in April from a year ago on a combination of bad weather, high tariffs and climbing transportation costs."
AI STORIES

Genre glitches and unexpected promotional phrases as a sign of AI writing

A genre glitch is a characteristic of LLM-assisted writing where the text suddenly switches genre, typically inserting a short promotional phrase full of sensory details into an informational text. Genre glitches occur when a word in the generated text is heavily associated with a genre or context that is markedly […]

Top of a ransom note from Shinyhunters hacking group. Text reads: "SHINYHUNTERS rooting your systems since '19 ;) ShinyHunters has breached Instructure (again). Instead of contacting us to resolve it they ignored us and did some "security patches"."
Networked Politics University politics

UiB self-hosts the open source version of Canvas, so wasn’t affected by the breach

On May 1st Canvas announced a security breach, and then yesterday the system was hacked. The login page was replaced by a ransom note: if universities don’t pay up by 12 May, student data will be released. Here’s what the login page looked like yesterday: Way back in 2015, when […]

AI and algorithmic culture Networked Politics

AI-generated images, fascist aesthetics: Dieselbrølet and Heimatstrom

My German is pretty dodgy, so when I first saw Heimatstrom on Bluesky, shared by Roland Meyer, a professor of visual culture at Universität Zürich’s Digital Society Initiative, I misinterpreted it and thought it was a far-right campaign. But no, Heimatstrom is a group of left-wing environmentalists using fascist AI […]

Photo of a billboard ad at Oslo S train station showing a smiliing conductor and the text "Du må ikke sove. Joda, bare sov du."
AI STORIES

“Du må ikke sove”: a floating motif detached from its meaning (or: LLMs can write Norwegian but miss cultural references)

There’s a new ad for the train between Stavanger and Oslo in Norway that uses a line from Arnulf Øverland’s famous anti-fascist poem Du må ikke sove (“You must not sleep”). Du må ikke sove, you must not sleep, the ad says. And then it flips it, jovially, joda, bare […]

Academics in Norway: Sign this petition asking for research-based discussions of how to use AI in universities

I just signed a petition calling for Norwegian universities to use research expertise on AI when deciding how to implement it, rather than having decisions be made mostly administratively. ,  If you are a researcher in Norway, please read it and sign it if you agree – and share with anyone else who might be interested. The petition was written by three researchers at UiT: Maria Danielsen (a philosopher who completed her PhD in 2025 on AI and ethics, including discussions of art and working life), Knut Ørke (Norwegian as a second language), and Holger Pötzsch (a professor of media studies with many years of research on digital media, video games, disruption, and working life, among other topics).  This is not about preventing researchers from exploring AI methods in their research. It is about not uncritically accepting the hype that everyone must use AI everywhere without critical reflection. It is about not introducing Copilot as the default option in word processors, or training PhD candidates to believe they will fall behind if they do not use AI when writing articles, without proper academic discussion. Changes like these should be knowledge-based and discussed academically, not merely decided administratively, because they alter the epistemological foundations of research. Maria wrote to me a couple of months ago because she had read my opinion piece in Aftenposten in which I called for a strong brake on the use of language models in knowledge work. She was part of a committee tasked with developing UiT’s AI strategy and was concerned because there was so much hype and so few members of the committee with actual expertise in AI. I fully support the petition. There are probably some good uses for AI in research, but the uncritical, hype-driven insistence that we must simply adopt it everywhere is highly risky. There are many researchers in Norway with strong expertise in AI, language, ethics, working life, and culture. We must make use of this expertise. This is also partly about respect for research in the humanities, social sciences, psychology, and law. Introducing AI at universities and university colleges is not merely a technical issue, and perhaps not even primarily a technical one. It concerns much more: philosophy of science, methodological reflection, epistemology, writing, publishing, the working environment, and more. […]