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:

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

    ReplyDelete
  2. 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.)

    ReplyDelete
  3. 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?

    ReplyDelete
  4. Dang comment parsing. I emailed the code to you.

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

    ReplyDelete
  6. 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

    ReplyDelete

Note: Only a member of this blog may post a comment.