Tuesday, March 22, 2005

Screw CSS

The only way I've found to use CSS to make the lovely borders I have here on this page is to make background images that are very tall and very wide, and just hope that nobody is going to have a screen resolution that is too big for them.

Screw that. That's short-sighted, flawed design. I'm just going to use tables.

Now, if only there were an answer to my real burning question :P

6 comments:

David said...

It looks ok in 1200x1920. I'll check again tomorrow.

Heather Meadows said...

Well...I haven't done anything! This is still my original Blogger template, and the thing I link to in the WordPress post is a test site, using tables. (And it looks terrible, because I don't know how to put in something akin to Blogger's <BlogDateFooter> tag in WordPress.)

Anonymous said...

Put this before the beginning of the loop:



Put this at the beginning inside the loop:



if ($firsttime) :
$firsttime = false;
elseif ($newdate != "") :
?>
FOOTER CODE



HEADER CODE

MORE HEADER CODE


Put this after the loop (after the endwhile):

FINAL FOOTER CODE



That do what you're looking for?

Anonymous said...

Dang comment parsing. I emailed the code to you.

Heather Meadows said...

Thank you SO MUCH, Derik...it's working, I'm just tweaking the stylesheet now :) YAY!

Heather Meadows said...

Bleh, I've done something wrong, I'm sure...I've told the cells to be 26 pixels high, but they don't seem to care what I say. Additionally, I told the background-image not to repeat, but that doesn't care what I say, either.

The date also won't align to the top of the cell, meaning it looks totally doofy.

I may have to just give up on a faithful port and just stick the date ABOVE the table :P