css

… ho hum … just playing with some css and greymatter stuff here …
okay. so here’s what I did (in case you care): in the template for each entry, there is a link to the ‘header’ template. each of my header templates has a link to my css include line. the css include line is a template too. so I added the gm ‘day’ variable to the name of the css file and created seven new css files, each with the name of the day. (ex: blog_monday.css, blog_tuesday.css) I tweaked each of these css files a bit, so every day the page will have a little different format. lame? yeah, I guess so. but I thought it was nifty at the time. now I have to decipher the rules for floating in css so I can have the sidebar boxes rearrange themselves each day as well. or is that just stupid? I don’t really think enough people ever visit that I’m going to actually lose visitors if the site’s changing every day. … hmmm … blah blah blah …


There are 3 comments on this post

  1. I just stopped by here while taking a break from doing something remarkably similar to my site (only I’m just changing the color scheme every hour or so, not rearraging things).What I’d suggest is that you set up some way to let people always come to the version they like, if that’s not too difficult. That way if, say, Tuesday’s stylesheet is just amazingly cool, I can always look at the page with it.

  2. that’s not a bad idea….

  3. So far, I really like Tuesday!!

Add to the discussion:

I'll never share your email address and it won't be published.

What Is This?

davidgagne.net is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

bartender.live

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.

Hemingway

You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.